org.jbpm.env.context
Class WebSessionContext
java.lang.Object
org.jbpm.env.context.WebSessionContext
- All Implemented Interfaces:
- Context
public class WebSessionContext
- extends java.lang.Object
- implements Context
Method Summary |
|
get(java.lang.Class<T> type)
|
java.lang.Object |
get(java.lang.String key)
|
java.lang.String |
getName()
|
boolean |
has(java.lang.String key)
|
java.util.Set<java.lang.String> |
keys()
|
java.lang.Object |
set(java.lang.String key,
java.lang.Object value)
|
void |
setEnvironment(Environment environment)
invoked by the environment when this context is added. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSessionContext
public WebSessionContext()
get
public java.lang.Object get(java.lang.String key)
- Specified by:
get
in interface Context
has
public boolean has(java.lang.String key)
- Specified by:
has
in interface Context
keys
public java.util.Set<java.lang.String> keys()
- Specified by:
keys
in interface Context
set
public java.lang.Object set(java.lang.String key,
java.lang.Object value)
- Specified by:
set
in interface Context
get
public <T> T get(java.lang.Class<T> type)
- Specified by:
get
in interface Context
setEnvironment
public void setEnvironment(Environment environment)
- Description copied from interface:
Context
- invoked by the environment when this context is added.
- Specified by:
setEnvironment
in interface Context
getName
public java.lang.String getName()
- Specified by:
getName
in interface Context