/** * Bind the underlying JTA implementations to the appropriate JNDI contexts. * @throws javax.naming.NamingException */ public static void bindJTAImplementation() throws javax.naming.NamingException { bindJTATransactionManagerImplementation(); bindJTAUserTransactionImplementation(); bindJTATransactionSynchronizationRegistryImplementation(); }
/** * Bind the currently configured user transaction implementation to the default JNDI * context. * @throws javax.naming.NamingException */ public static void bindJTAUserTransactionImplementation() throws javax.naming.NamingException { bindJTAUserTransactionImplementation(new InitialContext()); }
/** * Bind the currently configured TransactionSynchronizationRegistry implementation to the default JNDI * context. * @throws javax.naming.NamingException */ public static void bindJTATransactionSynchronizationRegistryImplementation() throws javax.naming.NamingException { bindJTATransactionSynchronizationRegistryImplementation(new InitialContext()); }
/** * Unbind the transaction manager from the default JNDI context. * @throws javax.naming.NamingException */ public static void unbindJTATransactionManagerImplementation() throws javax.naming.NamingException { unbindJTATransactionManagerImplementation(new InitialContext()); }
public void unbind() throws NamingException { unbind(new InitialContext()); } }
/** * Unbind the TSR from the provided JNDI context. * @param initialContext * @throws javax.naming.NamingException */ public static void unbindJTATransactionSynchronizationRegistryImplementation(InitialContext initialContext) throws javax.naming.NamingException { initialContext.unbind(getTransactionSynchronizationRegistryJNDIName()); }
/** * Bind the underlying JTA implementations to the appropriate JNDI contexts. * @throws javax.naming.NamingException */ public static void bindJTAImplementation() throws javax.naming.NamingException { bindJTATransactionManagerImplementation(); bindJTAUserTransactionImplementation(); bindJTATransactionSynchronizationRegistryImplementation(); }
/** * Bind the currently configured user transaction implementation to the default JNDI * context. * @throws javax.naming.NamingException */ public static void bindJTAUserTransactionImplementation() throws javax.naming.NamingException { bindJTAUserTransactionImplementation(new InitialContext()); }
/** * Bind the underlying JTA implementations to the appropriate JNDI contexts. * @throws javax.naming.NamingException */ public static void bindJTAImplementations(InitialContext ctx) throws javax.naming.NamingException { bindJTATransactionManagerImplementation(ctx); bindJTAUserTransactionImplementation(ctx); bindJTATransactionSynchronizationRegistryImplementation(ctx); }
/** * Bind the underlying JTA implementations to the appropriate JNDI contexts. * @throws javax.naming.NamingException */ public static void bindJTAImplementation() throws javax.naming.NamingException { bindJTATransactionManagerImplementation(); bindJTAUserTransactionImplementation(); bindJTATransactionSynchronizationRegistryImplementation(); }
/** * Bind the underlying JTA implementations to the appropriate JNDI contexts. * @throws javax.naming.NamingException */ public static void bindJTAImplementations(InitialContext ctx) throws javax.naming.NamingException { bindJTATransactionManagerImplementation(ctx); bindJTAUserTransactionImplementation(ctx); bindJTATransactionSynchronizationRegistryImplementation(ctx); }
/** * Bind the underlying JTA implementations to the appropriate JNDI contexts. * @throws javax.naming.NamingException */ public static void bindJTAImplementation() throws javax.naming.NamingException { bindJTATransactionManagerImplementation(); bindJTAUserTransactionImplementation(); bindJTATransactionSynchronizationRegistryImplementation(); }
/** * Bind the underlying JTA implementations to the appropriate JNDI contexts. * @throws javax.naming.NamingException */ public static void bindJTAImplementation() throws javax.naming.NamingException { bindJTATransactionManagerImplementation(); bindJTAUserTransactionImplementation(); bindJTATransactionSynchronizationRegistryImplementation(); }
/** * Bind the underlying JTA implementations to the appropriate JNDI contexts. * @throws javax.naming.NamingException */ public static void bindJTAImplementations(InitialContext ctx) throws javax.naming.NamingException { bindJTATransactionManagerImplementation(ctx); bindJTAUserTransactionImplementation(ctx); bindJTATransactionSynchronizationRegistryImplementation(ctx); }
/** * Bind the underlying JTA implementations to the appropriate JNDI contexts. * @throws javax.naming.NamingException */ public static void bindJTAImplementations(InitialContext ctx) throws javax.naming.NamingException { bindJTATransactionManagerImplementation(ctx); bindJTAUserTransactionImplementation(ctx); bindJTATransactionSynchronizationRegistryImplementation(ctx); }
/** * Bind the underlying JTA implementations to the appropriate JNDI contexts. * @throws javax.naming.NamingException */ public static void bindJTAImplementation() throws javax.naming.NamingException { bindJTATransactionManagerImplementation(); bindJTAUserTransactionImplementation(); bindJTATransactionSynchronizationRegistryImplementation(); }
/** * Bind the underlying JTA implementations to the appropriate JNDI contexts. * @throws javax.naming.NamingException */ public static void bindJTAImplementation() throws javax.naming.NamingException { bindJTATransactionManagerImplementation(); bindJTAUserTransactionImplementation(); bindJTATransactionSynchronizationRegistryImplementation(); }
/** * Bind the underlying JTA implementations to the appropriate JNDI contexts. * @throws javax.naming.NamingException */ public static void bindJTAImplementations(InitialContext ctx) throws javax.naming.NamingException { bindJTATransactionManagerImplementation(ctx); bindJTAUserTransactionImplementation(ctx); bindJTATransactionSynchronizationRegistryImplementation(ctx); }
/** * Bind the underlying JTA implementations to the appropriate JNDI contexts. * @throws javax.naming.NamingException */ public static void bindJTAImplementations(InitialContext ctx) throws javax.naming.NamingException { bindJTATransactionManagerImplementation(ctx); bindJTAUserTransactionImplementation(ctx); bindJTATransactionSynchronizationRegistryImplementation(ctx); }
/** * Bind the underlying JTA implementations to the appropriate JNDI contexts. * @message com.arjuna.ats.jta.utils.JNDIManager.jndibindfailure Failed to bind the JTA implementations with the appropriate JNDI contexts: {0} * @message com.arjuna.ats.jta.utils.JNDIManager.tmjndibindfailure Failed to bind the JTA transaction manager implementation with the approprite JNDI context: {0} * @message com.arjuna.ats.jta.utils.JNDIManager.utjndibindfailure Failed to bind the JTA user transaction implementation with the appropriate JNDI context: {0} * @throws javax.naming.NamingException */ public static void bindJTAImplementations(InitialContext ctx) throws javax.naming.NamingException { bindJTATransactionManagerImplementation(ctx); bindJTAUserTransactionImplementation(ctx); bindJTATransactionSynchronizationRegistryImplementation(ctx); }