|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.BTTProcessorHandler
com.ibm.btt.automaton.ProcessorManager
public class ProcessorManager
The ProcessManager keeps track of the processes, including their status. Each process is identified by a processId in the processRegistry.
Field Summary | |
---|---|
protected Hashtable |
processorRegistry
|
protected static ProcessorManager |
uniqueInstance
|
Constructor Summary | |
---|---|
ProcessorManager()
|
Method Summary | |
---|---|
void |
abortProcessor(java.lang.String processorId)
Aborts the Processor given the processorId. |
Processor |
createProcessor(java.lang.String processorName)
Creates a Processor given by the processorName through the ProcessorExternalizer. |
Processor |
createProcessorFromCache(java.lang.String processorName)
Creates a Processor given by the processorName through the ProcessorExternalizer. |
void |
executeProcessor(java.lang.String processorId)
Executes the Processor given the processorId. |
Hashtable |
getProcessorRegistry()
Returns the processor registry. |
static ProcessorManager |
getUniqueInstance()
Returns the unique instance of ProcessorManager running on the application environment. |
void |
removeProcessor(java.lang.String processorId)
Removes the Processor from the processorRegistry given the processorId. |
void |
resetProcessorManager()
This method aborts all the processors that are running and removes the reference in the processorRegistry. |
void |
resumeProcessor(java.lang.String processorId)
Resumes the Processor given the processorId. |
static void |
setUniqueInstance(ProcessorManager newUniqueInstance)
Sets a new instance of the processorManager. |
void |
suspendProcessor(java.lang.String processorId)
Suspends the Processor given the processorId. |
Methods inherited from class com.ibm.btt.base.BTTProcessorHandler |
---|
dispatchEvent, handleEvent, handleEvent, stopHandlingEvent, stopHandlingEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Hashtable processorRegistry
protected static ProcessorManager uniqueInstance
Constructor Detail |
---|
public ProcessorManager()
Method Detail |
---|
public void abortProcessor(java.lang.String processorId) throws DSEProcessorException
processorId
- java.lang.String
DSEProcessorException
public Processor createProcessor(java.lang.String processorName) throws java.io.IOException, DSEInvalidArgumentException, DSEProcessorException
processorName
- java.lang.String
java.io.IOException
DSEInvalidArgumentException
DSEProcessorException
public Processor createProcessorFromCache(java.lang.String processorName) throws java.io.IOException, DSEInvalidArgumentException, DSEProcessorException
processorName
- java.lang.String
java.io.IOException
DSEInvalidArgumentException
DSEProcessorException
public void executeProcessor(java.lang.String processorId) throws DSEInvalidArgumentException, DSEProcessorException
processorId
- java.lang.String
DSEEInvalidArgumentxception
DSEProcessorException
DSEInvalidArgumentException
public Hashtable getProcessorRegistry()
public static ProcessorManager getUniqueInstance()
public void removeProcessor(java.lang.String processorId)
processorId
- java.lang.Stringpublic void resetProcessorManager()
public void resumeProcessor(java.lang.String processorId)
processorId
- java.lang.Stringpublic static void setUniqueInstance(ProcessorManager newUniqueInstance)
newUniqueInstance
- com.ibm.btt.automaton.ProcessorManagerpublic void suspendProcessor(java.lang.String processorId)
processorId
- java.lang.String
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |