public abstract class BaseActivity extends Object implements Activity
| Constructor and Description |
|---|
BaseActivity() |
| Modifier and Type | Method and Description |
|---|---|
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 |
setBeanName(String beanName) |
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.
|
public ErrorHandler getErrorHandler()
ActivitygetErrorHandler in interface Activitypublic void setBeanName(String beanName)
setBeanName in interface org.springframework.beans.factory.BeanNameAwarepublic void setErrorHandler(ErrorHandler errorHandler)
setErrorHandler in interface Activitypublic String getBeanName()
getBeanName in interface Activitypublic RollbackHandler getRollbackHandler()
ActivitygetRollbackHandler in interface Activitypublic void setRollbackHandler(RollbackHandler rollbackHandler)
ActivitysetRollbackHandler in interface ActivityrollbackHandler - the handler responsible for reverting state for the activitypublic String getRollbackRegion()
ActivitygetRollbackRegion in interface Activitypublic void setRollbackRegion(String rollbackRegion)
ActivitysetRollbackRegion in interface ActivityrollbackRegion - the rollback region label for the RollbackHandler instancepublic Map<String,Object> getStateConfiguration()
ActivitygetStateConfiguration in interface Activitypublic void setStateConfiguration(Map<String,Object> stateConfiguration)
ActivitysetStateConfiguration in interface ActivitystateConfiguration - any user-defined state configuration necessary for the execution of the RollbackHandlerpublic boolean getAutomaticallyRegisterRollbackHandler()
ActivitygetAutomaticallyRegisterRollbackHandler in interface Activitypublic void setAutomaticallyRegisterRollbackHandler(boolean automaticallyRegisterRollbackHandler)
ActivitysetAutomaticallyRegisterRollbackHandler in interface ActivityautomaticallyRegisterRollbackHandler - Whether or not to automatically register a RollbackHandler with the ActivityStateManagerCopyright © 2014. All Rights Reserved.