org.jbpm.pvm.env
Class SpringEnvironmentFactory
Object
EnvironmentFactory
SpringEnvironmentFactory
- All Implemented Interfaces:
- Serializable, Context, ApplicationContextAware
public class SpringEnvironmentFactory
- extends EnvironmentFactory
- implements ApplicationContextAware
this environment factory will see only the singleton beans.
The created SpringEnvironments will see the prototype
beans and it will cache them.
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringEnvironmentFactory
public SpringEnvironmentFactory()
openEnvironment
public SpringEnvironment 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
has
public boolean has(String key)
- Specified by:
has in interface Context
get
public Object get(String key)
- Specified by:
get in interface Context
get
public <T> T get(Class<T> type)
- Specified by:
get in interface Context
keys
public Set<String> keys()
- Specified by:
keys in interface Context
getApplicationContext
public ApplicationContext getApplicationContext()
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
- Specified by:
setApplicationContext in interface ApplicationContextAware
close
public void close()
- Description copied from class:
EnvironmentFactory
- closes this environment factory and cleans any allocated
resources.
- Specified by:
close in class EnvironmentFactory
getName
public String getName()
- Specified by:
getName in interface Context
set
public Object set(String key,
Object value)
- Specified by:
set in interface Context
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.