Liferay 6.2-ce-ga5

com.liferay.util.spring.transaction
Class TransactionStatusClp

java.lang.Object
  extended by com.liferay.util.spring.transaction.TransactionStatusClp
All Implemented Interfaces:
org.springframework.transaction.SavepointManager, org.springframework.transaction.TransactionStatus

public class TransactionStatusClp
extends Object
implements org.springframework.transaction.TransactionStatus

A class loader proxy implementation for a transaction status object created by the transaction manager within the portal and serialized back and forth between the portal and plugin class loader.


Constructor Summary
TransactionStatusClp(Object remoteTransactionStatus)
           
 
Method Summary
 Object createSavepoint()
           
 void flush()
           
 Object getRemoteTransactionStatus()
           
 boolean hasSavepoint()
           
protected  void initRemoteMethods(Object remoteTransactionStatus)
           
 boolean isCompleted()
           
 boolean isNewTransaction()
           
 boolean isRollbackOnly()
           
 void releaseSavepoint(Object savepoint)
           
 void rollbackToSavepoint(Object savepoint)
           
 void setRollbackOnly()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionStatusClp

public TransactionStatusClp(Object remoteTransactionStatus)
Method Detail

createSavepoint

public Object createSavepoint()
                       throws org.springframework.transaction.TransactionException
Specified by:
createSavepoint in interface org.springframework.transaction.SavepointManager
Throws:
org.springframework.transaction.TransactionException

flush

public void flush()
Specified by:
flush in interface org.springframework.transaction.TransactionStatus

getRemoteTransactionStatus

public Object getRemoteTransactionStatus()

hasSavepoint

public boolean hasSavepoint()
Specified by:
hasSavepoint in interface org.springframework.transaction.TransactionStatus

isCompleted

public boolean isCompleted()
Specified by:
isCompleted in interface org.springframework.transaction.TransactionStatus

isNewTransaction

public boolean isNewTransaction()
Specified by:
isNewTransaction in interface org.springframework.transaction.TransactionStatus

isRollbackOnly

public boolean isRollbackOnly()
Specified by:
isRollbackOnly in interface org.springframework.transaction.TransactionStatus

releaseSavepoint

public void releaseSavepoint(Object savepoint)
                      throws org.springframework.transaction.TransactionException
Specified by:
releaseSavepoint in interface org.springframework.transaction.SavepointManager
Throws:
org.springframework.transaction.TransactionException

rollbackToSavepoint

public void rollbackToSavepoint(Object savepoint)
                         throws org.springframework.transaction.TransactionException
Specified by:
rollbackToSavepoint in interface org.springframework.transaction.SavepointManager
Throws:
org.springframework.transaction.TransactionException

setRollbackOnly

public void setRollbackOnly()
Specified by:
setRollbackOnly in interface org.springframework.transaction.TransactionStatus

initRemoteMethods

protected void initRemoteMethods(Object remoteTransactionStatus)

Liferay 6.2-ce-ga5