com.arjuna.ats.jta.utils
Class JNDIManager

java.lang.Object
  extended by com.arjuna.ats.jta.utils.JNDIManager

Deprecated. Only used by tests

public class JNDIManager
extends Object


Constructor Summary
JNDIManager()
          Deprecated.  
 
Method Summary
static void bindJTAImplementation()
          Deprecated. Bind the underlying JTA implementations to the appropriate JNDI contexts.
static void bindJTAImplementations(InitialContext ctx)
          Deprecated. Bind the underlying JTA implementations to the appropriate JNDI contexts.
static void bindJTATransactionManagerImplementation()
          Deprecated. Bind the currently configured transaction manager implementation to the default JNDI context.
static void bindJTATransactionManagerImplementation(InitialContext initialContext)
          Deprecated. Bind the currently configured transaction manager implementation to the JNDI context passed in.
static void bindJTATransactionSynchronizationRegistryImplementation()
          Deprecated. Bind the currently configured TransactionSynchronizationRegistry implementation to the default JNDI context.
static void bindJTATransactionSynchronizationRegistryImplementation(InitialContext initialContext)
          Deprecated. Bind the currently configured TransactionSynchronizationRegistry implementation to the passed in JNDI context.
static void bindJTAUserTransactionImplementation()
          Deprecated. Bind the currently configured user transaction implementation to the default JNDI context.
static void bindJTAUserTransactionImplementation(InitialContext initialContext)
          Deprecated. Bind the currently configured user transaction implementation to the passed in JNDI context.
static void unbindJTATransactionManagerImplementation()
          Deprecated. Unbind the transaction manager from the default JNDI context.
static void unbindJTATransactionManagerImplementation(InitialContext initialContext)
          Deprecated. Unbind the transaction manager from the provided JNDI context.
static void unbindJTATransactionSynchronizationRegistryImplementation()
          Deprecated. Unbind the TSR from the default JNDI context.
static void unbindJTATransactionSynchronizationRegistryImplementation(InitialContext initialContext)
          Deprecated. Unbind the TSR from the provided JNDI context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JNDIManager

public JNDIManager()
Deprecated. 
Method Detail

bindJTAImplementations

public static void bindJTAImplementations(InitialContext ctx)
                                   throws NamingException
Deprecated. 
Bind the underlying JTA implementations to the appropriate JNDI contexts.

Throws:
NamingException

bindJTAImplementation

public static void bindJTAImplementation()
                                  throws NamingException
Deprecated. 
Bind the underlying JTA implementations to the appropriate JNDI contexts.

Throws:
NamingException

bindJTATransactionManagerImplementation

public static void bindJTATransactionManagerImplementation()
                                                    throws NamingException
Deprecated. 
Bind the currently configured transaction manager implementation to the default JNDI context.

Throws:
NamingException

unbindJTATransactionManagerImplementation

public static void unbindJTATransactionManagerImplementation()
                                                      throws NamingException
Deprecated. 
Unbind the transaction manager from the default JNDI context.

Throws:
NamingException

bindJTATransactionManagerImplementation

public static void bindJTATransactionManagerImplementation(InitialContext initialContext)
                                                    throws NamingException
Deprecated. 
Bind the currently configured transaction manager implementation to the JNDI context passed in.

Parameters:
initialContext -
Throws:
NamingException

unbindJTATransactionManagerImplementation

public static void unbindJTATransactionManagerImplementation(InitialContext initialContext)
                                                      throws NamingException
Deprecated. 
Unbind the transaction manager from the provided JNDI context.

Parameters:
initialContext -
Throws:
NamingException

bindJTAUserTransactionImplementation

public static void bindJTAUserTransactionImplementation()
                                                 throws NamingException
Deprecated. 
Bind the currently configured user transaction implementation to the default JNDI context.

Throws:
NamingException

bindJTAUserTransactionImplementation

public static void bindJTAUserTransactionImplementation(InitialContext initialContext)
                                                 throws NamingException
Deprecated. 
Bind the currently configured user transaction implementation to the passed in JNDI context.

Parameters:
initialContext -
Throws:
NamingException

bindJTATransactionSynchronizationRegistryImplementation

public static void bindJTATransactionSynchronizationRegistryImplementation()
                                                                    throws NamingException
Deprecated. 
Bind the currently configured TransactionSynchronizationRegistry implementation to the default JNDI context.

Throws:
NamingException

unbindJTATransactionSynchronizationRegistryImplementation

public static void unbindJTATransactionSynchronizationRegistryImplementation()
                                                                      throws NamingException
Deprecated. 
Unbind the TSR from the default JNDI context.

Throws:
NamingException

bindJTATransactionSynchronizationRegistryImplementation

public static void bindJTATransactionSynchronizationRegistryImplementation(InitialContext initialContext)
                                                                    throws NamingException
Deprecated. 
Bind the currently configured TransactionSynchronizationRegistry implementation to the passed in JNDI context.

Parameters:
initialContext -
Throws:
NamingException

unbindJTATransactionSynchronizationRegistryImplementation

public static void unbindJTATransactionSynchronizationRegistryImplementation(InitialContext initialContext)
                                                                      throws NamingException
Deprecated. 
Unbind the TSR from the provided JNDI context.

Parameters:
initialContext -
Throws:
NamingException


Copyright © 2012. All Rights Reserved.