Class SimpleCloneLibTransactionSynchronizationAdapter
java.lang.Object
org.springframework.transaction.support.TransactionSynchronizationAdapter
com.broadleafcommerce.enterprise.workflow.dao.simple.SimpleCloneLibTransactionSynchronizationAdapter
- All Implemented Interfaces:
Flushable,org.springframework.core.Ordered,org.springframework.transaction.support.TransactionSynchronization
@Component("blSimpleCloneLibTransactionSynchronizationAdapter")
@Scope("prototype")
public class SimpleCloneLibTransactionSynchronizationAdapter
extends org.springframework.transaction.support.TransactionSynchronizationAdapter
Delay sending
WorkflowCloneLibrary cache invalidation related to sandbox lifecycle until
after successful transaction completion.- Author:
- Jeff Fischer
-
Field Summary
FieldsFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCEFields inherited from interface org.springframework.transaction.support.TransactionSynchronization
STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionSimpleCloneLibTransactionSynchronizationAdapter(Set<WorkflowCloneLibrary> group, TransactionBoundOperationType operationType) -
Method Summary
Methods inherited from class org.springframework.transaction.support.TransactionSynchronizationAdapter
afterCommit, beforeCommit, beforeCompletion, flush, getOrder, resume, suspendMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.transaction.support.TransactionSynchronization
savepoint, savepointRollback
-
Field Details
-
invalidationProducer
-
-
Constructor Details
-
SimpleCloneLibTransactionSynchronizationAdapter
public SimpleCloneLibTransactionSynchronizationAdapter(Set<WorkflowCloneLibrary> group, TransactionBoundOperationType operationType)
-
-
Method Details
-
afterCompletion
public void afterCompletion(int status) - Specified by:
afterCompletionin interfaceorg.springframework.transaction.support.TransactionSynchronization- Overrides:
afterCompletionin classorg.springframework.transaction.support.TransactionSynchronizationAdapter
-