public class TestExampleModuleActivity extends BaseActivity<ProcessContext<? extends Object>> implements ModuleActivity
ModuleActivity marker interface in it performs correctlyautomaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfiguration| Constructor and Description |
|---|
TestExampleModuleActivity() |
| Modifier and Type | Method and Description |
|---|---|
ProcessContext<? extends Object> |
execute(ProcessContext<? extends Object> context)
Called by the encompassing processor to activate
the execution of the Activity
|
String |
getModuleName()
The name of the module that this activity came from (for instance: 'inventory')
|
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecutepublic ProcessContext<? extends Object> execute(ProcessContext<? extends Object> context) throws Exception
Activityexecute in interface Activity<ProcessContext<? extends Object>>context - - process context for this workflowExceptionpublic String getModuleName()
ModuleActivitygetModuleName in interface ModuleActivityCopyright © 2015. All rights reserved.