private static void initXATerminator() { if(txType == null) { setTxType( guessTxType() ); } TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager(); if(txType == TxType.JTA) { // we are running in JTA mode xaTerminator = new XATerminatorImple(); } else { // it's not JTA, so it must be JTAX. However, we are in the JTA module and // can't link against the JTS code so we need to do it the hard way... try { Class clazz = Class.forName("com.arjuna.ats.internal.jta.transaction.jts.jca.XATerminatorImple"); xaTerminator = (XATerminator)clazz.newInstance(); } catch(Exception e) { jtaLogger.i18NLogger.error_transaction_arjunacore_jca_SubordinationManager_terminatorfailure(e); } } }
private static void initXATerminator() { if(txType == null) { setTxType( guessTxType() ); } TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager(); if(txType == TxType.JTA) { // we are running in JTA mode xaTerminator = new XATerminatorImple(); } else { // it's not JTA, so it must be JTAX. However, we are in the JTA module and // can't link against the JTS code so we need to do it the hard way... try { Class clazz = Class.forName("com.arjuna.ats.internal.jta.transaction.jts.jca.XATerminatorImple"); xaTerminator = (XATerminator)clazz.newInstance(); } catch(Exception e) { jtaLogger.i18NLogger.error_transaction_arjunacore_jca_SubordinationManager_terminatorfailure(e); } } }
private static void initXATerminator() { if(txType == null) { setTxType( guessTxType() ); } TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager(); if(txType == TxType.JTA) { // we are running in JTA mode xaTerminator = new XATerminatorImple(); } else { // it's not JTA, so it must be JTAX. However, we are in the JTA module and // can't link against the JTS code so we need to do it the hard way... try { Class clazz = Class.forName("com.arjuna.ats.internal.jta.transaction.jts.jca.XATerminatorImple"); xaTerminator = (XATerminator)clazz.newInstance(); } catch(Exception e) { jtaLogger.i18NLogger.error_transaction_arjunacore_jca_SubordinationManager_terminatorfailure(e); } } }
private static void initXATerminator() { if(txType == null) { setTxType( guessTxType() ); } TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager(); if(txType == TxType.JTA) { // we are running in JTA mode xaTerminator = new XATerminatorImple(); } else { // it's not JTA, so it must be JTAX. However, we are in the JTA module and // can't link against the JTS code so we need to do it the hard way... try { Class clazz = Class.forName("com.arjuna.ats.internal.jta.transaction.jts.jca.XATerminatorImple"); xaTerminator = (XATerminator)clazz.newInstance(); } catch(Exception e) { jtaLogger.i18NLogger.error_transaction_arjunacore_jca_SubordinationManager_terminatorfailure(e); } } }
private static void initXATerminator() { if(txType == null) { setTxType( guessTxType() ); } TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager(); if(txType == TxType.JTA) { // we are running in JTA mode xaTerminator = new XATerminatorImple(); } else { // it's not JTA, so it must be JTAX. However, we are in the JTA module and // can't link against the JTS code so we need to do it the hard way... try { Class clazz = Class.forName("com.arjuna.ats.internal.jta.transaction.jts.jca.XATerminatorImple"); xaTerminator = (XATerminator)clazz.newInstance(); } catch(Exception e) { jtaLogger.i18NLogger.error_transaction_arjunacore_jca_SubordinationManager_terminatorfailure(e); } } }
private static void initXATerminator() { if(txType == null) { setTxType( guessTxType() ); } TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager(); if(txType == TxType.JTA) { // we are running in JTA mode xaTerminator = new XATerminatorImple(); } else { // it's not JTA, so it must be JTAX. However, we are in the JTA module and // can't link against the JTS code so we need to do it the hard way... try { Class clazz = Class.forName("com.arjuna.ats.internal.jta.transaction.jts.jca.XATerminatorImple"); xaTerminator = (XATerminator)clazz.newInstance(); } catch(Exception e) { jtaLogger.i18NLogger.error_transaction_arjunacore_jca_SubordinationManager_terminatorfailure(e); } } }