public interface ProcessAgent
Modifier and Type | Field and Description |
---|---|
static String |
MESSAGE_SELECTOR_PROPERTY
Name of the JMS message selector property used to filter JMS messages
|
Modifier and Type | Method and Description |
---|---|
ExecutionTrace |
handleCommUnit(CommunicationUnit communicationUnit)
Handles a communication unit.
|
ExecutionTrace |
handleCommUnitInNewTransaction(CommunicationUnit communicationUnit)
Handles a communication unit in a new transaction.
|
ExecutionTrace |
handleCommUnitWithDeadlockRetry(CommunicationUnit communicationUnit)
Handles a communication unit in a new transaction with retrying in case of deadlock
|
ExecutionTrace |
handleCommUnitWithErrorHandling(CommunicationUnit communicationUnit)
Handles a communication unit with error-handling.
|
void |
initTimers()
This method is called from the
com.whitestein.lsps.tools.InitServiceImpl
at the application startup. |
void |
terminateOnModelChange(ModelInstance modelInstance) |
static final String MESSAGE_SELECTOR_PROPERTY
ExecutionTrace handleCommUnit(CommunicationUnit communicationUnit) throws ModelInstanceNotFoundException, InvalidModelInstanceStateException, ErrorException
communicationUnit
- ModelInstanceNotFoundException
InvalidModelInstanceStateException
ErrorException
ExecutionTrace handleCommUnitInNewTransaction(CommunicationUnit communicationUnit) throws ModelInstanceNotFoundException, InvalidModelInstanceStateException, ErrorException
communicationUnit
- ModelInstanceNotFoundException
InvalidModelInstanceStateException
ErrorException
ExecutionTrace handleCommUnitWithDeadlockRetry(CommunicationUnit communicationUnit) throws Exception
communicationUnit
- ModelInstanceNotFoundException
InvalidModelInstanceStateException
Exception
ExecutionTrace handleCommUnitWithErrorHandling(CommunicationUnit communicationUnit)
communicationUnit
- void initTimers()
com.whitestein.lsps.tools.InitServiceImpl
at the application startup. Loads all timer notification entries from database and register them
again with system timer service.void terminateOnModelChange(ModelInstance modelInstance)
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.