org.kuali.rice.ksb.messaging.objectremoting
Class RemoteObjectCleanup

java.lang.Object
  extended by 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)

Field Summary
private static org.apache.log4j.Logger LOG
           
private  QName objectRemoterName
           
private  QName serviceToRemove
           
 
Fields inherited from interface org.springframework.transaction.support.TransactionSynchronization
STATUS_COMMITTED, STATUS_ROLLED_BACK, STATUS_UNKNOWN
 
Constructor Summary
RemoteObjectCleanup(QName objectRemoterName, QName serviceToRemove)
           
 
Method Summary
 void afterCommit()
           
 void afterCompletion(int status)
           
 void beforeCommit(boolean readOnly)
           
 void beforeCompletion()
           
 QName getObjectRemoterName()
           
 QName getServiceToRemove()
           
 void resume()
           
 void setObjectRemoterName(QName objectRemoterName)
           
 void setServiceToRemove(QName serviceToRemove)
           
 void suspend()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final org.apache.log4j.Logger LOG

objectRemoterName

private QName objectRemoterName

serviceToRemove

private QName serviceToRemove
Constructor Detail

RemoteObjectCleanup

public RemoteObjectCleanup(QName objectRemoterName,
                           QName serviceToRemove)
Method Detail

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.