Class TestRollbackHandler
java.lang.Object
org.broadleafcommerce.core.workflow.state.test.TestRollbackHandler
- All Implemented Interfaces:
RollbackHandler<ProcessContext<CheckoutSeed>>
public class TestRollbackHandler
extends Object
implements RollbackHandler<ProcessContext<CheckoutSeed>>
Demonstrate a call to a RollbackHandler
- Author:
- Jeff Fischer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrollbackState(Activity<ProcessContext<CheckoutSeed>> activity, ProcessContext<CheckoutSeed> processContext, Map<String, Object> stateConfiguration)
-
Constructor Details
-
TestRollbackHandler
public TestRollbackHandler()
-
-
Method Details
-
rollbackState
@Transactional("blTransactionManager") public void rollbackState(Activity<ProcessContext<CheckoutSeed>> activity, ProcessContext<CheckoutSeed> processContext, Map<String, Object> stateConfiguration) throws RollbackFailureException- Specified by:
rollbackStatein interfaceRollbackHandler<ProcessContext<CheckoutSeed>>- Throws:
RollbackFailureException
-