Class TransactionSynchronizationRegistryImple
java.lang.Object
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple
- All Implemented Interfaces:
jakarta.transaction.TransactionSynchronizationRegistry
,Serializable
,ObjectFactory
public class TransactionSynchronizationRegistryImple
extends Object
implements jakarta.transaction.TransactionSynchronizationRegistry, Serializable, ObjectFactory
Implementation of the TransactionSynchronizationRegistry interface, in line with the JTA 1.1 specification.
- Author:
- jonathan.halliday@jboss.com
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetObjectInstance
(Object obj, Name name, Context nameCtx, Hashtable environment) getResource
(Object key) boolean
int
void
putResource
(Object key, Object value) void
registerInterposedSynchronization
(jakarta.transaction.Synchronization synchronization) void
-
Constructor Details
-
TransactionSynchronizationRegistryImple
public TransactionSynchronizationRegistryImple()
-
-
Method Details
-
getObjectInstance
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception - Specified by:
getObjectInstance
in interfaceObjectFactory
- Throws:
Exception
-
getTransactionKey
- Specified by:
getTransactionKey
in interfacejakarta.transaction.TransactionSynchronizationRegistry
-
putResource
- Specified by:
putResource
in interfacejakarta.transaction.TransactionSynchronizationRegistry
-
getResource
- Specified by:
getResource
in interfacejakarta.transaction.TransactionSynchronizationRegistry
-
registerInterposedSynchronization
public void registerInterposedSynchronization(jakarta.transaction.Synchronization synchronization) - Specified by:
registerInterposedSynchronization
in interfacejakarta.transaction.TransactionSynchronizationRegistry
-
getTransactionStatus
public int getTransactionStatus()- Specified by:
getTransactionStatus
in interfacejakarta.transaction.TransactionSynchronizationRegistry
-
setRollbackOnly
public void setRollbackOnly()- Specified by:
setRollbackOnly
in interfacejakarta.transaction.TransactionSynchronizationRegistry
-
getRollbackOnly
public boolean getRollbackOnly()- Specified by:
getRollbackOnly
in interfacejakarta.transaction.TransactionSynchronizationRegistry
-