|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EnvironmentFactory
factory for Environment
s.
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
.
Field Summary |
---|
Fields inherited from interface org.jbpm.api.env.Context |
---|
CONTEXTNAME_EXECUTION, CONTEXTNAME_JOB, CONTEXTNAME_PROCESS_ENGINE, CONTEXTNAME_TASK, CONTEXTNAME_TRANSACTION |
Method Summary | |
---|---|
void |
close()
closes this environment factory and cleans any allocated resources. |
Environment |
openEnvironment()
open a new Environment. |
Environment |
openEnvironment(java.util.List<WireObject> txWireObjects)
open a new Environment and pass in a list of objects that must be placed/exposed in the transaction context. |
Methods inherited from interface org.jbpm.api.env.Context |
---|
get, get, getName, has, keys, set |
Method Detail |
---|
Environment openEnvironment()
Environment.close()
.
Environment openEnvironment(java.util.List<WireObject> txWireObjects)
Environment.close()
.
void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |