|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Activity
| Method Summary | |
|---|---|
ProcessContext |
execute(ProcessContext context)
Called by the encompassing processor to activate the execution of the Activity |
boolean |
getAutomaticallyRegisterRollbackHandler()
Whether or not this activity should automatically register a configured RollbackHandler with the ActivityStateManager. |
String |
getBeanName()
|
ErrorHandler |
getErrorHandler()
Get the fine-grained error handler wired up for this Activity |
RollbackHandler |
getRollbackHandler()
Retrieve the RollbackHandler instance that should be called by the ActivityStateManager in the event of a workflow execution problem. |
String |
getRollbackRegion()
Retrieve the optional region label for the RollbackHandler. |
Map<String,Object> |
getStateConfiguration()
Retrieve any user-defined state that should accompany the RollbackHandler. |
void |
setAutomaticallyRegisterRollbackHandler(boolean automaticallyRegisterRollbackHandler)
Whether or not this activity should automatically register a configured RollbackHandler with the ActivityStateManager. |
void |
setErrorHandler(ErrorHandler errorHandler)
|
void |
setRollbackHandler(RollbackHandler rollbackHandler)
Set the RollbackHandler instance that should be called by the ActivityStateManager in the event of a workflow execution problem. |
void |
setRollbackRegion(String rollbackRegion)
Set the optional region label for the RollbackHandler. |
void |
setStateConfiguration(Map<String,Object> stateConfiguration)
Set any user-defined state that should accompany the RollbackHandler. |
| Methods inherited from interface org.springframework.beans.factory.BeanNameAware |
|---|
setBeanName |
| Method Detail |
|---|
ProcessContext execute(ProcessContext context)
throws Exception
context - - process context for this workflow
ExceptionErrorHandler getErrorHandler()
void setErrorHandler(ErrorHandler errorHandler)
String getBeanName()
RollbackHandler getRollbackHandler()
void setRollbackHandler(RollbackHandler rollbackHandler)
rollbackHandler - the handler responsible for reverting state for the activityString getRollbackRegion()
void setRollbackRegion(String rollbackRegion)
rollbackRegion - the rollback region label for the RollbackHandler instanceMap<String,Object> getStateConfiguration()
void setStateConfiguration(Map<String,Object> stateConfiguration)
stateConfiguration - any user-defined state configuration necessary for the execution of the RollbackHandlerboolean getAutomaticallyRegisterRollbackHandler()
void setAutomaticallyRegisterRollbackHandler(boolean automaticallyRegisterRollbackHandler)
automaticallyRegisterRollbackHandler - Whether or not to automatically register a RollbackHandler with the ActivityStateManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||