/** * Bind the currently configured transaction manager implementation to the JNDI * context passed in. * @param initialContext * @throws javax.naming.NamingException */ public static void bindJTATransactionManagerImplementation(InitialContext initialContext) throws javax.naming.NamingException { /** Look up and instantiate an instance of the configured transaction manager implementation **/ String tmImplementation = jtaPropertyManager.getJTAEnvironmentBean().getTransactionManagerClassName(); /** Bind the transaction manager to the appropriate JNDI context **/ Reference ref = new Reference(tmImplementation, tmImplementation, null); initialContext.rebind(getTransactionManagerJNDIName(), ref); }
/** * Bind the currently configured transaction manager implementation to the JNDI * context passed in. * @param initialContext * @throws javax.naming.NamingException */ public static void bindJTATransactionManagerImplementation(InitialContext initialContext) throws javax.naming.NamingException { /** Look up and instantiate an instance of the configured transaction manager implementation **/ String tmImplementation = jtaPropertyManager.getJTAEnvironmentBean().getTransactionManagerClassName(); /** Bind the transaction manager to the appropriate JNDI context **/ Reference ref = new Reference(tmImplementation, tmImplementation, null); initialContext.rebind(getTransactionManagerJNDIName(), ref); }
/** * Bind the currently configured transaction manager implementation to the JNDI * context passed in. * @param initialContext * @throws javax.naming.NamingException */ public static void bindJTATransactionManagerImplementation(InitialContext initialContext) throws javax.naming.NamingException { /** Look up and instantiate an instance of the configured transaction manager implementation **/ String tmImplementation = jtaPropertyManager.getJTAEnvironmentBean().getTransactionManagerClassName(); /** Bind the transaction manager to the appropriate JNDI context **/ Reference ref = new Reference(tmImplementation, tmImplementation, null); initialContext.rebind(getTransactionManagerJNDIName(), ref); }
/** * Bind the currently configured transaction manager implementation to the JNDI * context passed in. * @param initialContext * @throws javax.naming.NamingException */ public static void bindJTATransactionManagerImplementation(InitialContext initialContext) throws javax.naming.NamingException { /** Look up and instantiate an instance of the configured transaction manager implementation **/ String tmImplementation = jtaPropertyManager.getJTAEnvironmentBean().getTransactionManagerClassName(); /** Bind the transaction manager to the appropriate JNDI context **/ Reference ref = new Reference(tmImplementation, tmImplementation, null); initialContext.rebind(getTransactionManagerJNDIName(), ref); }
/** * Bind the currently configured transaction manager implementation to the JNDI * context passed in. * @param initialContext * @throws javax.naming.NamingException */ public static void bindJTATransactionManagerImplementation(InitialContext initialContext) throws javax.naming.NamingException { /** Look up and instantiate an instance of the configured transaction manager implementation **/ String tmImplementation = jtaPropertyManager.getJTAEnvironmentBean().getTransactionManagerClassName(); /** Bind the transaction manager to the appropriate JNDI context **/ Reference ref = new Reference(tmImplementation, tmImplementation, null); initialContext.rebind(getTransactionManagerJNDIName(), ref); }
/** * Bind the currently configured transaction manager implementation to the JNDI * context passed in. * @param initialContext * @throws javax.naming.NamingException */ public static void bindJTATransactionManagerImplementation(InitialContext initialContext) throws javax.naming.NamingException { /** Look up and instantiate an instance of the configured transaction manager implementation **/ String tmImplementation = jtaPropertyManager.getJTAEnvironmentBean().getTransactionManagerClassName(); /** Bind the transaction manager to the appropriate JNDI context **/ Reference ref = new Reference(tmImplementation, tmImplementation, null); initialContext.rebind(getTransactionManagerJNDIName(), ref); }
public ToolsInitialiser() throws Exception { String tmClassName = jtaPropertyManager.getJTAEnvironmentBean().getTransactionManagerClassName();