org.broadleafcommerce.core.workflow.state.test
Class TestRollbackActivity
java.lang.Object
org.broadleafcommerce.core.workflow.BaseActivity
org.broadleafcommerce.core.workflow.state.test.TestRollbackActivity
- All Implemented Interfaces:
- Activity, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware
public class TestRollbackActivity
- extends BaseActivity
Create an activity that simply throws an exception in order to engage the rollback behavior for the workflow
- Author:
- Jeff Fischer
| Methods inherited from class org.broadleafcommerce.core.workflow.BaseActivity |
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setRollbackHandler, setRollbackRegion, setStateConfiguration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestRollbackActivity
public TestRollbackActivity()
execute
public ProcessContext execute(ProcessContext context)
throws Exception
- Throws:
Exception
Copyright © 2013. All Rights Reserved.