/** * Bind the currently configured user transaction implementation to the passed in * JNDI context. * @param initialContext * @throws javax.naming.NamingException */ public static void bindJTAUserTransactionImplementation(InitialContext initialContext) throws javax.naming.NamingException { /** Look up and instantiate an instance of the configured user transaction implementation **/ String utImplementation = jtaPropertyManager.getJTAEnvironmentBean().getUserTransactionClassName(); /** Bind the user transaction to the appropriate JNDI context **/ Reference ref = new Reference(utImplementation, utImplementation, null); initialContext.rebind(getUserTransactionJNDIName(), ref); }
/** * Bind the currently configured user transaction implementation to the passed in * JNDI context. * @param initialContext * @throws javax.naming.NamingException */ public static void bindJTAUserTransactionImplementation(InitialContext initialContext) throws javax.naming.NamingException { /** Look up and instantiate an instance of the configured user transaction implementation **/ String utImplementation = jtaPropertyManager.getJTAEnvironmentBean().getJtaUTImplementation(); /** Bind the user transaction to the appropriate JNDI context **/ Reference ref = new Reference(utImplementation, utImplementation, null); initialContext.rebind(getUserTransactionJNDIName(), ref); }
/** * Bind the currently configured user transaction implementation to the passed in * JNDI context. * @param initialContext * @throws javax.naming.NamingException */ public static void bindJTAUserTransactionImplementation(InitialContext initialContext) throws javax.naming.NamingException { /** Look up and instantiate an instance of the configured user transaction implementation **/ String utImplementation = jtaPropertyManager.getJTAEnvironmentBean().getUserTransactionClassName(); /** Bind the user transaction to the appropriate JNDI context **/ Reference ref = new Reference(utImplementation, utImplementation, null); initialContext.rebind(getUserTransactionJNDIName(), ref); }
/** * Bind the currently configured user transaction implementation to the passed in * JNDI context. * @param initialContext * @throws javax.naming.NamingException */ public static void bindJTAUserTransactionImplementation(InitialContext initialContext) throws javax.naming.NamingException { /** Look up and instantiate an instance of the configured user transaction implementation **/ String utImplementation = jtaPropertyManager.getJTAEnvironmentBean().getUserTransactionClassName(); /** Bind the user transaction to the appropriate JNDI context **/ Reference ref = new Reference(utImplementation, utImplementation, null); initialContext.rebind(getUserTransactionJNDIName(), ref); }
/** * Bind the currently configured user transaction implementation to the passed in * JNDI context. * @param initialContext * @throws javax.naming.NamingException */ public static void bindJTAUserTransactionImplementation(InitialContext initialContext) throws javax.naming.NamingException { /** Look up and instantiate an instance of the configured user transaction implementation **/ String utImplementation = jtaPropertyManager.getJTAEnvironmentBean().getUserTransactionClassName(); /** Bind the user transaction to the appropriate JNDI context **/ Reference ref = new Reference(utImplementation, utImplementation, null); initialContext.rebind(getUserTransactionJNDIName(), ref); }
/** * Bind the currently configured user transaction implementation to the passed in * JNDI context. * @param initialContext * @throws javax.naming.NamingException */ public static void bindJTAUserTransactionImplementation(InitialContext initialContext) throws javax.naming.NamingException { /** Look up and instantiate an instance of the configured user transaction implementation **/ String utImplementation = jtaPropertyManager.getJTAEnvironmentBean().getUserTransactionClassName(); /** Bind the user transaction to the appropriate JNDI context **/ Reference ref = new Reference(utImplementation, utImplementation, null); initialContext.rebind(getUserTransactionJNDIName(), ref); }
/** * Bind the currently configured user transaction implementation to the passed in * JNDI context. * @param initialContext * @throws javax.naming.NamingException */ public static void bindJTAUserTransactionImplementation(InitialContext initialContext) throws javax.naming.NamingException { /** Look up and instantiate an instance of the configured user transaction implementation **/ String utImplementation = jtaPropertyManager.getJTAEnvironmentBean().getUserTransactionClassName(); /** Bind the user transaction to the appropriate JNDI context **/ Reference ref = new Reference(utImplementation, utImplementation, null); initialContext.rebind(getUserTransactionJNDIName(), ref); }