Class JNDIManager

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

public class JNDIManager extends Object
  • Constructor Details

    • JNDIManager

      public JNDIManager()
  • Method Details

    • bindJTAImplementations

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

      public static void bindJTAImplementation() throws NamingException
      Bind the underlying JTA implementations to the appropriate JNDI contexts.
      Throws:
      NamingException
    • bindJTATransactionManagerImplementation

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

      public static void unbindJTATransactionManagerImplementation() throws NamingException
      Unbind the transaction manager from the default JNDI context.
      Throws:
      NamingException
    • bindJTATransactionManagerImplementation

      public static void bindJTATransactionManagerImplementation(InitialContext initialContext) throws NamingException
      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
      Unbind the transaction manager from the provided JNDI context.
      Parameters:
      initialContext -
      Throws:
      NamingException
    • bindJTAUserTransactionImplementation

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

      public static void bindJTAUserTransactionImplementation(InitialContext initialContext) throws NamingException
      Bind the currently configured user transaction implementation to the passed in JNDI context.
      Parameters:
      initialContext -
      Throws:
      NamingException
    • bindJTATransactionSynchronizationRegistryImplementation

      public static void bindJTATransactionSynchronizationRegistryImplementation() throws NamingException
      Bind the currently configured TransactionSynchronizationRegistry implementation to the default JNDI context.
      Throws:
      NamingException
    • unbindJTATransactionSynchronizationRegistryImplementation

      public static void unbindJTATransactionSynchronizationRegistryImplementation() throws NamingException
      Unbind the TSR from the default JNDI context.
      Throws:
      NamingException
    • bindJTATransactionSynchronizationRegistryImplementation

      public static void bindJTATransactionSynchronizationRegistryImplementation(InitialContext initialContext) throws NamingException
      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
      Unbind the TSR from the provided JNDI context.
      Parameters:
      initialContext -
      Throws:
      NamingException