com.liferay.util.spring.transaction
Class TransactionStatusClp
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionStatusClp
public TransactionStatusClp(Object remoteTransactionStatus)
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)