org.broadleafcommerce.core.workflow.state.test
Class TestRollbackHandler

java.lang.Object
  extended by org.broadleafcommerce.core.workflow.state.test.TestRollbackHandler
All Implemented Interfaces:
RollbackHandler<CheckoutSeed>

public class TestRollbackHandler
extends Object
implements RollbackHandler<CheckoutSeed>

Demonstrate a call to a RollbackHandler

Author:
Jeff Fischer

Constructor Summary
TestRollbackHandler()
           
 
Method Summary
 void rollbackState(Activity<? extends ProcessContext<CheckoutSeed>> activity, ProcessContext<CheckoutSeed> processContext, Map<String,Object> stateConfiguration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRollbackHandler

public TestRollbackHandler()
Method Detail

rollbackState

@Transactional(value="blTransactionManager")
public void rollbackState(Activity<? extends ProcessContext<CheckoutSeed>> activity,
                                        ProcessContext<CheckoutSeed> processContext,
                                        Map<String,Object> stateConfiguration)
                   throws RollbackFailureException
Specified by:
rollbackState in interface RollbackHandler<CheckoutSeed>
Throws:
RollbackFailureException


Copyright © 2013. All Rights Reserved.