org.datanucleus.jta
Class CustomJNDITransactionManagerLocator
java.lang.Object
org.datanucleus.jta.JNDIBasedTransactionManagerLocator
org.datanucleus.jta.CustomJNDITransactionManagerLocator
- All Implemented Interfaces:
- TransactionManagerLocator
public class CustomJNDITransactionManagerLocator
- extends JNDIBasedTransactionManagerLocator
Locator for the TransactionManager in a user-defined JNDI location defined by persistence properties.
|
Method Summary |
String |
getJNDIName()
Accessor for the JNDI name to lookup the txn manager under. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jndiLocation
protected String jndiLocation
- The JNDI Location to use with this locator.
CustomJNDITransactionManagerLocator
public CustomJNDITransactionManagerLocator(NucleusContext nucleusCtx)
- Constructor.
- Parameters:
nucleusCtx - the context this locator operates in
getJNDIName
public String getJNDIName()
- Accessor for the JNDI name to lookup the txn manager under.
- Specified by:
getJNDIName in class JNDIBasedTransactionManagerLocator
- Returns:
- The JNDI name
Copyright © 2012. All Rights Reserved.