public class SimpleTransactionSynchronizationRegistry
extends java.lang.Object
Constructor and Description |
---|
SimpleTransactionSynchronizationRegistry(TransactionManager transactionManager) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getResource(java.lang.Object key) |
boolean |
getRollbackOnly() |
Transaction |
getTransactionKey() |
int |
getTransactionStatus() |
void |
putResource(java.lang.Object key,
java.lang.Object value) |
void |
registerInterposedSynchronization(Synchronization synchronization) |
void |
setRollbackOnly() |
public SimpleTransactionSynchronizationRegistry(TransactionManager transactionManager)
public Transaction getTransactionKey()
public java.lang.Object getResource(java.lang.Object key)
public void putResource(java.lang.Object key, java.lang.Object value)
public int getTransactionStatus()
public void registerInterposedSynchronization(Synchronization synchronization)
public boolean getRollbackOnly()
public void setRollbackOnly()