public class DecrementInventoryActivity extends BaseActivity<ProcessContext<CheckoutSeed>>
| Modifier and Type | Field and Description |
|---|---|
protected WorkflowInventoryExtensionManager |
extensionManager |
protected InventoryService |
inventoryService |
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfiguration| Constructor and Description |
|---|
DecrementInventoryActivity() |
| Modifier and Type | Method and Description |
|---|---|
ProcessContext<CheckoutSeed> |
execute(ProcessContext<CheckoutSeed> context)
Called by the encompassing processor to activate
the execution of the Activity
|
void |
setInventoryService(InventoryService service) |
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecuteprotected InventoryService inventoryService
protected WorkflowInventoryExtensionManager extensionManager
public ProcessContext<CheckoutSeed> execute(ProcessContext<CheckoutSeed> context) throws Exception
Activitycontext - - process context for this workflowExceptionpublic void setInventoryService(InventoryService service)
Copyright © 2014. All Rights Reserved.