org.jbpm.pvm.env
Class EnvironmentFactory
Object
EnvironmentFactory
- All Implemented Interfaces:
- Serializable, Context
- Direct Known Subclasses:
- PvmEnvironmentFactory, SpringEnvironmentFactory
public abstract class EnvironmentFactory
- extends Object
- implements Context, Serializable
factory for Environments.
Default implementation is
PvmEnvironmentFactory. EnvironmentFactory is thread safe, you
should use one environment factory for all your threads.
Easiest way to obtain an EnvironmentFactory is with
#parseResource(String)
#parseInputStream(InputStream)
#parseInputSource(InputSource)
#parseXmlString(String)
For the default parser's XML schema, see PvmEnvironmentFactoryParser.
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
|
Method Summary |
abstract void |
close()
closes this environment factory and cleans any allocated
resources. |
abstract Environment |
openEnvironment()
open a new Environment. |
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnvironmentFactory
public EnvironmentFactory()
openEnvironment
public abstract Environment openEnvironment()
- open a new Environment. The client is responsible for
closing the environment with
Environment.close().
close
public abstract void close()
- closes this environment factory and cleans any allocated
resources.
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.