Package org.datanucleus.transaction.jta
Class CustomJNDITransactionManagerLocator
java.lang.Object
org.datanucleus.transaction.jta.JNDIBasedTransactionManagerLocator
org.datanucleus.transaction.jta.CustomJNDITransactionManagerLocator
- All Implemented Interfaces:
TransactionManagerLocator
Locator for the TransactionManager in a user-defined JNDI location defined by persistence properties.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAccessor for the JNDI name to lookup the txn manager under.Methods inherited from class org.datanucleus.transaction.jta.JNDIBasedTransactionManagerLocator
getTransactionManager
-
Field Details
-
jndiLocation
The JNDI Location to use with this locator.
-
-
Constructor Details
-
CustomJNDITransactionManagerLocator
Constructor.- Parameters:
nucleusCtx
- the context this locator operates in
-
-
Method Details
-
getJNDIName
Accessor for the JNDI name to lookup the txn manager under.- Specified by:
getJNDIName
in classJNDIBasedTransactionManagerLocator
- Returns:
- The JNDI name
-