/** * Retrieve a reference to the transaction manager from the passed in JNDI initial context. * @param ctx The JNDI initial context to lookup the Transaction Manager reference from. * @return The transaction manager bound to the appropriate JNDI context. Returns null * if the transaction manager cannot be found. * */ public static javax.transaction.TransactionManager transactionManager (InitialContext ctx) { javax.transaction.TransactionManager transactionManager = null; try { transactionManager = (javax.transaction.TransactionManager)ctx.lookup(jtaPropertyManager.getJTAEnvironmentBean().getTransactionManagerJNDIContext()); } catch (Exception e) { jtaLogger.i18NLogger.warn_TransactionManager_jndifailure(e); } return transactionManager; }
/** * Retrieve a reference to the transaction manager from the passed in JNDI initial context. * @param ctx The JNDI initial context to lookup the Transaction Manager reference from. * @return The transaction manager bound to the appropriate JNDI context. Returns null * if the transaction manager cannot be found. * */ public static javax.transaction.TransactionManager transactionManager (InitialContext ctx) { javax.transaction.TransactionManager transactionManager = null; try { transactionManager = (javax.transaction.TransactionManager)ctx.lookup(jtaPropertyManager.getJTAEnvironmentBean().getTransactionManagerJNDIContext()); } catch (Exception e) { jtaLogger.i18NLogger.warn_TransactionManager_jndifailure(e); } return transactionManager; }
/** * Retrieve a reference to the transaction manager from the passed in JNDI initial context. * @param ctx The JNDI initial context to lookup the Transaction Manager reference from. * @return The transaction manager bound to the appropriate JNDI context. Returns null * if the transaction manager cannot be found. * */ public static javax.transaction.TransactionManager transactionManager (InitialContext ctx) { javax.transaction.TransactionManager transactionManager = null; try { transactionManager = (javax.transaction.TransactionManager)ctx.lookup(jtaPropertyManager.getJTAEnvironmentBean().getTransactionManagerJNDIContext()); } catch (Exception e) { jtaLogger.i18NLogger.warn_TransactionManager_jndifailure(e); } return transactionManager; }
/** * Retrieve a reference to the transaction manager from the passed in JNDI initial context. * @param ctx The JNDI initial context to lookup the Transaction Manager reference from. * @return The transaction manager bound to the appropriate JNDI context. Returns null * if the transaction manager cannot be found. * */ public static javax.transaction.TransactionManager transactionManager (InitialContext ctx) { javax.transaction.TransactionManager transactionManager = null; try { transactionManager = (javax.transaction.TransactionManager)ctx.lookup(jtaPropertyManager.getJTAEnvironmentBean().getTransactionManagerJNDIContext()); } catch (Exception e) { jtaLogger.i18NLogger.warn_TransactionManager_jndifailure(e); } return transactionManager; }
/** * Retrieve a reference to the transaction manager from the passed in JNDI initial context. * @param ctx The JNDI initial context to lookup the Transaction Manager reference from. * @return The transaction manager bound to the appropriate JNDI context. Returns null * if the transaction manager cannot be found. * */ public static javax.transaction.TransactionManager transactionManager (InitialContext ctx) { javax.transaction.TransactionManager transactionManager = null; try { transactionManager = (javax.transaction.TransactionManager)ctx.lookup(jtaPropertyManager.getJTAEnvironmentBean().getTransactionManagerJNDIContext()); } catch (Exception e) { jtaLogger.i18NLogger.warn_TransactionManager_jndifailure(e); } return transactionManager; }
/** * Retrieve a reference to the transaction manager from the passed in JNDI initial context. * @param ctx The JNDI initial context to lookup the Transaction Manager reference from. * @return The transaction manager bound to the appropriate JNDI context. Returns null * if the transaction manager cannot be found. * * @deprecated This is only used by tests */ public static javax.transaction.TransactionManager transactionManager (InitialContext ctx) { javax.transaction.TransactionManager transactionManager = null; try { transactionManager = (javax.transaction.TransactionManager)ctx.lookup(jtaPropertyManager.getJTAEnvironmentBean().getTransactionManagerJNDIContext()); } catch (Exception e) { jtaLogger.i18NLogger.warn_TransactionManager_jndifailure(e); } return transactionManager; }