public class TransactionSynchronizationRegistryImpl extends java.lang.Object implements TransactionSynchronizationRegistry
Constructor and Description |
---|
TransactionSynchronizationRegistryImpl(TransactionManagerImpl transactionManager) |
Modifier and Type | Method and Description |
---|---|
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() |
public TransactionSynchronizationRegistryImpl(TransactionManagerImpl transactionManager)
public java.lang.Object getResource(java.lang.Object key)
getResource
in interface TransactionSynchronizationRegistry
public boolean getRollbackOnly()
getRollbackOnly
in interface TransactionSynchronizationRegistry
public java.lang.Object getTransactionKey()
getTransactionKey
in interface TransactionSynchronizationRegistry
public int getTransactionStatus()
getTransactionStatus
in interface TransactionSynchronizationRegistry
public void putResource(java.lang.Object key, java.lang.Object value)
putResource
in interface TransactionSynchronizationRegistry
public void registerInterposedSynchronization(Synchronization synchronization)
registerInterposedSynchronization
in interface TransactionSynchronizationRegistry
public void setRollbackOnly()
setRollbackOnly
in interface TransactionSynchronizationRegistry
public java.lang.String toString()
toString
in class java.lang.Object