public class TransactionSynchronizationRegistryImp extends Object implements TransactionSynchronizationRegistry, Serializable, Referenceable, OrderedLifecycleComponent
| Constructor and Description |
|---|
TransactionSynchronizationRegistryImp() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Reference |
getReference() |
Object |
getResource(Object key) |
boolean |
getRollbackOnly() |
Object |
getTransactionKey() |
int |
getTransactionStatus() |
void |
init() |
void |
putResource(Object key,
Object value) |
void |
registerInterposedSynchronization(Synchronization sync) |
void |
setRollbackOnly() |
public TransactionSynchronizationRegistryImp()
public Object getTransactionKey()
getTransactionKey in interface TransactionSynchronizationRegistrypublic void putResource(Object key, Object value)
putResource in interface TransactionSynchronizationRegistrypublic Object getResource(Object key)
getResource in interface TransactionSynchronizationRegistrypublic void registerInterposedSynchronization(Synchronization sync)
registerInterposedSynchronization in interface TransactionSynchronizationRegistrypublic int getTransactionStatus()
getTransactionStatus in interface TransactionSynchronizationRegistrypublic void setRollbackOnly()
setRollbackOnly in interface TransactionSynchronizationRegistrypublic boolean getRollbackOnly()
getRollbackOnly in interface TransactionSynchronizationRegistrypublic Reference getReference() throws NamingException
getReference in interface ReferenceableNamingExceptionpublic void init()
throws Exception
init in interface OrderedLifecycleComponentExceptionpublic void close()
throws Exception
close in interface OrderedLifecycleComponentExceptionCopyright © 2023. All rights reserved.