|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ATTR(value={"id#String#REQUIRED","context#String#IMPLIED","cleanEventsQueueOnSwitch#Boolean#IMPLIED","implClass#String#IMPLIED","refFlow#String#IMPLIED"}) public interface Processor
The interface for a processor that manages the flow of the business logic.
Field Summary | |
---|---|
static java.lang.String |
COMPID
|
static java.lang.String |
COPYRIGHT
|
Method Summary | |
---|---|
void |
abort()
Aborts the process. |
void |
addHandler(ProcessorHandler aHandler,
java.lang.String eventName)
Adds a aHandler to the chain of handlers for the object implementing the Processor interface. |
void |
addProcessorStatusChangedListener(ProcessorStatusChangedListener param)
Adds a listener to the processor's STATUSCHANGEEVENT and TERMINATEDEVENT. |
void |
changeState(java.lang.String newState,
boolean changeStateIgnoringEntryActionsValue)
Changes the state (by name) of the process. |
void |
close()
Closes actions and releases the processor and context objects. |
Context |
getContext()
Returns the value of the Context property. |
State |
getCurrentState()
Return the CurrentState of the process. |
java.lang.String |
getCurrentStateType()
Returns the current State's Type. |
Queue |
getEventQueue()
Returns the value of the eventQueue property. |
Hashtable |
getHandlersList()
Returns a Hashtable containing the list of Handlers listening to this process. |
Tag |
getInitialStateTag()
Returns the tag for the initial state. |
java.lang.String |
getProcessorId()
Returns the value of the processorId property. |
java.lang.String |
getProcessorName()
Returns the value of the processorName property. |
Tag |
getStateTag(java.lang.String stateName)
Returns the tag for the state name passed in as a parameter. |
Vector |
getStateTagList()
Returns a vector of states possible for this process. |
java.lang.String |
getStatus()
Returns the status of the process. |
Tag |
getTag()
Returns the tag associated with the process. |
void |
initialize()
Initiates the process. |
void |
resume()
Resumes a suspended processor. |
void |
setContext(Context aContext)
Sets the context to the process. |
void |
setCurrentState(State newState)
Sets the value of the currentState property. |
void |
setCurrentStateType(java.lang.String newStateType)
Sets the value of the CurrentStateType property. |
void |
setProcessorId(java.lang.String newProcessorId)
Sets the value of the processorId property. |
void |
setProcessorName(java.lang.String externalizedId)
Sets the value of the processorName property. |
void |
setStatus(java.lang.String aStatus)
Sets the status of the process. |
void |
setTag(Tag aTag)
Sets the tag of the process. |
void |
signalEvent(BTTProcessorEventObject anEvent)
Signals an event to the operation. |
void |
suspend()
Suspends the process. |
void |
terminate()
Provides housekeeping for the Processor object as a notifier instance. |
Methods inherited from interface com.ibm.btt.automaton.Executable |
---|
execute |
Methods inherited from interface com.ibm.btt.base.Cacheable |
---|
getName, isCacheable, reinitialize |
Field Detail |
---|
static final java.lang.String COPYRIGHT
static final java.lang.String COMPID
Method Detail |
---|
void abort() throws DSEProcessorException
DSEProcessorException
void addHandler(ProcessorHandler aHandler, java.lang.String eventName) throws DSEInvalidArgumentException
The handler, which is added to the chain of handlers using this operation, is registered for the event anEventName to be signaled by the DSENotifier. If it is interested in any event signaled by this notifier, the event name must be set to allEvents.
This method generates a DSEInvalidArgumentException when aHandler or anEventName are null.
aHandler
- com.ibm.btt.base.HandlereventName
- java.lang.String
DSEInvalidArgumentException
void addProcessorStatusChangedListener(ProcessorStatusChangedListener param)
param
- com.ibm.btt.automaton.ProcessorStatusChangedListenervoid changeState(java.lang.String newState, boolean changeStateIgnoringEntryActionsValue) throws DSEProcessorException
newState
- java.lang.StringignoreEntryActionsValue
- boolean
DSEProcessorException
void close() throws DSEInvalidRequestException, DSEObjectNotFoundException
DSEInvalidRequestException
DSEObjectNotFoundException
Context getContext()
State getCurrentState()
java.lang.String getCurrentStateType()
Queue getEventQueue()
Hashtable getHandlersList()
Tag getInitialStateTag()
java.lang.String getProcessorId()
java.lang.String getProcessorName()
Tag getStateTag(java.lang.String stateName)
stateName
- java.lang.String
Vector getStateTagList()
java.lang.String getStatus()
Tag getTag()
void initialize() throws java.io.IOException, DSEException
java.io.IOException
DSEException
DSEProcessorException
void resume()
void setContext(Context aContext)
aContext
- com.ibm.btt.base.Contextvoid setCurrentState(State newState)
newState
- Statevoid setCurrentStateType(java.lang.String newStateType)
newStateType
- java.lang.Stringvoid setProcessorId(java.lang.String newProcessorId)
newProcessorId
- java.lang.Stringvoid setProcessorName(java.lang.String externalizedId)
externalizedId
- java.lang.Stringvoid setStatus(java.lang.String aStatus)
aStatus
- java.lang.Stringvoid setTag(Tag aTag)
aTag
- com.ibm.btt.base.Tagvoid signalEvent(BTTProcessorEventObject anEvent)
param
- com.ibm.btt.base.DSEEventObjectvoid suspend()
void terminate() throws DSEException
DSEException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |