org.ow2.orchestra.pvm.internal.env
Class JobContext

java.lang.Object
  extended by org.ow2.orchestra.pvm.internal.env.JobContext
All Implemented Interfaces:
Context

public class JobContext
extends Object
implements Context


Field Summary
static String KEY
           
 
Fields inherited from interface org.ow2.orchestra.pvm.env.Context
CONTEXTNAME_ENVIRONMENT, CONTEXTNAME_ENVIRONMENT_FACTORY
 
Constructor Summary
JobContext(JobImpl<?> job)
           
 
Method Summary
<T> T
get(Class<T> type)
           
 Object get(String key)
           
 String getName()
           
 boolean has(String key)
           
 Set<String> keys()
           
 Object set(String key, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY

public static final String KEY
See Also:
Constant Field Values
Constructor Detail

JobContext

public JobContext(JobImpl<?> job)
Method Detail

get

public Object get(String key)
Specified by:
get in interface Context

has

public boolean has(String key)
Specified by:
has in interface Context

keys

public Set<String> keys()
Specified by:
keys in interface Context

set

public Object set(String key,
                  Object value)
Specified by:
set in interface Context

get

public <T> T get(Class<T> type)
Specified by:
get in interface Context

getName

public String getName()
Specified by:
getName in interface Context


Copyright © 2011 OW2 Consortium. All Rights Reserved.