org.kuali.rice.ksb.messaging.objectremoting
Class RemoteObjectCleanup
java.lang.Object
org.kuali.rice.ksb.messaging.objectremoting.RemoteObjectCleanup
- All Implemented Interfaces:
- org.springframework.transaction.support.TransactionSynchronization
public class RemoteObjectCleanup
- extends Object
- implements org.springframework.transaction.support.TransactionSynchronization
Synchronization
to cleanup any remote objects created during the
current transaction.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Fields inherited from interface org.springframework.transaction.support.TransactionSynchronization |
STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
private static final org.apache.log4j.Logger LOG
objectRemoterName
private QName objectRemoterName
serviceToRemove
private QName serviceToRemove
RemoteObjectCleanup
public RemoteObjectCleanup(QName objectRemoterName,
QName serviceToRemove)
afterCompletion
public void afterCompletion(int status)
- Specified by:
afterCompletion
in interface org.springframework.transaction.support.TransactionSynchronization
beforeCompletion
public void beforeCompletion()
- Specified by:
beforeCompletion
in interface org.springframework.transaction.support.TransactionSynchronization
getObjectRemoterName
public QName getObjectRemoterName()
setObjectRemoterName
public void setObjectRemoterName(QName objectRemoterName)
getServiceToRemove
public QName getServiceToRemove()
setServiceToRemove
public void setServiceToRemove(QName serviceToRemove)
afterCommit
public void afterCommit()
- Specified by:
afterCommit
in interface org.springframework.transaction.support.TransactionSynchronization
beforeCommit
public void beforeCommit(boolean readOnly)
- Specified by:
beforeCommit
in interface org.springframework.transaction.support.TransactionSynchronization
resume
public void resume()
- Specified by:
resume
in interface org.springframework.transaction.support.TransactionSynchronization
suspend
public void suspend()
- Specified by:
suspend
in interface org.springframework.transaction.support.TransactionSynchronization
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.