com.caucho.transaction
Class TransactionSynchronizationRegistryImpl

java.lang.Object
  extended by com.caucho.transaction.TransactionSynchronizationRegistryImpl
All Implemented Interfaces:
TransactionSynchronizationRegistry

public class TransactionSynchronizationRegistryImpl
extends java.lang.Object
implements TransactionSynchronizationRegistry

Resin transaction synchronization registry implementation.

Author:
Reza Rahman

Constructor Summary
TransactionSynchronizationRegistryImpl(TransactionManagerImpl transactionManager)
           
 
Method Summary
 java.lang.Object getResource(java.lang.Object key)
           
 boolean getRollbackOnly()
           
 java.lang.Object getTransactionKey()
           
 int getTransactionStatus()
           
 void putResource(java.lang.Object key, java.lang.Object value)
           
 void registerInterposedSynchronization(Synchronization synchronization)
           
 void setRollbackOnly()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionSynchronizationRegistryImpl

public TransactionSynchronizationRegistryImpl(TransactionManagerImpl transactionManager)
Method Detail

getResource

public java.lang.Object getResource(java.lang.Object key)
Specified by:
getResource in interface TransactionSynchronizationRegistry

getRollbackOnly

public boolean getRollbackOnly()
Specified by:
getRollbackOnly in interface TransactionSynchronizationRegistry

getTransactionKey

public java.lang.Object getTransactionKey()
Specified by:
getTransactionKey in interface TransactionSynchronizationRegistry

getTransactionStatus

public int getTransactionStatus()
Specified by:
getTransactionStatus in interface TransactionSynchronizationRegistry

putResource

public void putResource(java.lang.Object key,
                        java.lang.Object value)
Specified by:
putResource in interface TransactionSynchronizationRegistry

registerInterposedSynchronization

public void registerInterposedSynchronization(Synchronization synchronization)
Specified by:
registerInterposedSynchronization in interface TransactionSynchronizationRegistry

setRollbackOnly

public void setRollbackOnly()
Specified by:
setRollbackOnly in interface TransactionSynchronizationRegistry

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object