org.datanucleus.jta
Class SunTransactionManagerLocator

java.lang.Object
  extended by org.datanucleus.jta.JNDIBasedTransactionManagerLocator
      extended by org.datanucleus.jta.SunTransactionManagerLocator
All Implemented Interfaces:
TransactionManagerLocator

public class SunTransactionManagerLocator
extends JNDIBasedTransactionManagerLocator

Locator for the TransactionManager for Sun ONE.


Field Summary
 
Fields inherited from class org.datanucleus.jta.JNDIBasedTransactionManagerLocator
LOCALISER
 
Constructor Summary
SunTransactionManagerLocator(NucleusContext nucleusCtx)
          Constructor.
 
Method Summary
 String getJNDIName()
          Accessor for the JNDI name to lookup the txn manager under.
 
Methods inherited from class org.datanucleus.jta.JNDIBasedTransactionManagerLocator
getTransactionManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SunTransactionManagerLocator

public SunTransactionManagerLocator(NucleusContext nucleusCtx)
Constructor.

Parameters:
nucleusCtx - the context this locator operates in
Method Detail

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.