private static void initTransactionImporter() { if(txType == null) { setTxType( guessTxType() ); } if(txType == TxType.JTA) { // we are running in JTA mode transactionImporter = new TransactionImporterImple(); } 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.TransactionImporterImple"); transactionImporter = (TransactionImporter)clazz.newInstance(); } catch(Exception e) { jtaLogger.i18NLogger.error_transaction_arjunacore_jca_SubordinationManager_importerfailure(e); } } }
private static void initTransactionImporter() { if(txType == null) { setTxType( guessTxType() ); } if(txType == TxType.JTA) { // we are running in JTA mode transactionImporter = new TransactionImporterImple(); } 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.TransactionImporterImple"); transactionImporter = (TransactionImporter)clazz.newInstance(); } catch(Exception e) { jtaLogger.i18NLogger.error_transaction_arjunacore_jca_SubordinationManager_importerfailure(e); } } }
private static void initTransactionImporter() { if(txType == null) { setTxType( guessTxType() ); } if(txType == TxType.JTA) { // we are running in JTA mode transactionImporter = new TransactionImporterImple(); } 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.TransactionImporterImple"); transactionImporter = (TransactionImporter)clazz.newInstance(); } catch(Exception e) { jtaLogger.i18NLogger.error_transaction_arjunacore_jca_SubordinationManager_importerfailure(e); } } }
private static void initTransactionImporter() { if(txType == null) { setTxType( guessTxType() ); } if(txType == TxType.JTA) { // we are running in JTA mode transactionImporter = new TransactionImporterImple(); } 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.TransactionImporterImple"); transactionImporter = (TransactionImporter)clazz.newInstance(); } catch(Exception e) { jtaLogger.i18NLogger.error_transaction_arjunacore_jca_SubordinationManager_importerfailure(e); } } }
private static void initTransactionImporter() { if(txType == null) { setTxType( guessTxType() ); } if(txType == TxType.JTA) { // we are running in JTA mode transactionImporter = new TransactionImporterImple(); } 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.TransactionImporterImple"); transactionImporter = (TransactionImporter)clazz.newInstance(); } catch(Exception e) { jtaLogger.i18NLogger.error_transaction_arjunacore_jca_SubordinationManager_importerfailure(e); } } }
private static void initTransactionImporter() { if(txType == null) { setTxType( guessTxType() ); } if(txType == TxType.JTA) { // we are running in JTA mode transactionImporter = new TransactionImporterImple(); } 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.TransactionImporterImple"); transactionImporter = (TransactionImporter)clazz.newInstance(); } catch(Exception e) { jtaLogger.i18NLogger.error_transaction_arjunacore_jca_SubordinationManager_importerfailure(e); } } }