org.jbpm.env.impl
Class SpringEnvironmentFactory
java.lang.Object
org.jbpm.env.EnvironmentFactory
org.jbpm.env.impl.SpringEnvironmentFactory
- All Implemented Interfaces:
- java.io.Serializable, Context
public class SpringEnvironmentFactory
- extends EnvironmentFactory
- implements Context
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringEnvironmentFactory
public SpringEnvironmentFactory()
get
public java.lang.Object get(java.lang.String key)
- Specified by:
get
in interface Context
get
public <T> T get(java.lang.Class<T> type)
- 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
openEnvironment
public Environment openEnvironment()
- Description copied from class:
EnvironmentFactory
- open a new Environment. The client is responsible for
closing the environment with
Environment.close()
.
- Specified by:
openEnvironment
in class EnvironmentFactory
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
getCurrentEnvironment
public Environment getCurrentEnvironment()
getName
public java.lang.String getName()
- Specified by:
getName
in interface Context
close
public void close()
- Description copied from class:
EnvironmentFactory
- closes this environment factory and cleans any allocated
resources.
- Specified by:
close
in class EnvironmentFactory
environmentClosed
public void environmentClosed(Environment environment)
getCommandService
public CommandService getCommandService()