|
jBPM distribution 6.0.0.CR4-Pre1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbpm.executor.impl.runtime.RuntimeManagerRegistry
public class RuntimeManagerRegistry
Registry for active RuntimeManagers
that can be used from within executor service.
Constructor Summary | |
---|---|
protected |
RuntimeManagerRegistry()
|
Method Summary | |
---|---|
void |
addRuntimeManager(String id,
RuntimeManager manager)
Adds new RuntimeManager that shall be available for the executor |
static RuntimeManagerRegistry |
get()
Returns singleton instance of the registry |
RuntimeManager |
getRuntimeManager(String id)
Returns RuntimeManager instance if registered, otherwise null |
void |
remove(String id)
Remove RuntimeManager identified by given id |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected RuntimeManagerRegistry()
Method Detail |
---|
public static RuntimeManagerRegistry get()
public void addRuntimeManager(String id, RuntimeManager manager)
RuntimeManager
that shall be available for the executor
id
- - id of the RuntimeManagermanager
- - RuntimeManager instancepublic void remove(String id)
RuntimeManager
identified by given id
id
- - id of the RuntimeManagerpublic RuntimeManager getRuntimeManager(String id)
id
- - id of the RuntimeManager
|
jBPM distribution 6.0.0.CR4-Pre1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |