public class CompleteOrderActivity extends BaseActivity<ProcessContext<CheckoutSeed>> implements org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfiguration| Constructor and Description |
|---|
CompleteOrderActivity() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
determineOrderNumber(Order order) |
protected Date |
determineSubmitDate(Order order) |
ProcessContext<CheckoutSeed> |
execute(ProcessContext<CheckoutSeed> context)
Called by the encompassing processor to activate
the execution of the Activity
|
protected OrderStatus |
getCompletedStatus() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecuteprotected org.springframework.context.ApplicationContext applicationContext
public ProcessContext<CheckoutSeed> execute(ProcessContext<CheckoutSeed> context) throws Exception
Activityexecute in interface Activity<ProcessContext<CheckoutSeed>>context - - process context for this workflowExceptionprotected OrderStatus getCompletedStatus()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2017. All rights reserved.