org.kuali.rice.ksb.messaging.serviceproxies
Class MessageSendingTransactionSynchronization
java.lang.Object
org.springframework.transaction.support.TransactionSynchronizationAdapter
org.kuali.rice.ksb.messaging.serviceproxies.MessageSendingTransactionSynchronization
- All Implemented Interfaces:
- org.springframework.core.Ordered, org.springframework.transaction.support.TransactionSynchronization
public class MessageSendingTransactionSynchronization
- extends org.springframework.transaction.support.TransactionSynchronizationAdapter
Sends message when current transaction commits.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Fields inherited from interface org.springframework.transaction.support.TransactionSynchronization |
STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN |
Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Methods inherited from class org.springframework.transaction.support.TransactionSynchronizationAdapter |
afterCommit, beforeCommit, beforeCompletion, flush, resume, suspend |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CALLED_TRANS_COMMITTED
public static final AtomicBoolean CALLED_TRANS_COMMITTED
CALLED_TRANS_ROLLEDBACKED
public static final AtomicBoolean CALLED_TRANS_ROLLEDBACKED
MessageSendingTransactionSynchronization
public MessageSendingTransactionSynchronization(PersistedMessageBO message)
afterCompletion
public void afterCompletion(int status)
- Specified by:
afterCompletion
in interface org.springframework.transaction.support.TransactionSynchronization
- Overrides:
afterCompletion
in class org.springframework.transaction.support.TransactionSynchronizationAdapter
getOrder
public int getOrder()
- Specified by:
getOrder
in interface org.springframework.core.Ordered
- Overrides:
getOrder
in class org.springframework.transaction.support.TransactionSynchronizationAdapter
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.