private int parseTransactionSupportString(String txSupport) { return ConnectionPoolObjectsUtils.parseTransactionSupportString(txSupport); }
private int getTxSupport(String moduleName) { if (ConnectorConstants.JDBCXA_RA_NAME.equals(moduleName)) { return ConnectionPoolObjectsUtils.parseTransactionSupportString( ConnectorConstants.XA_TRANSACTION_TX_SUPPORT_STRING ); } return ConnectionPoolObjectsUtils.parseTransactionSupportString( ConnectorConstants.LOCAL_TRANSACTION_TX_SUPPORT_STRING); }
public static int getTransactionSupportFromRaXml(String rarName) throws ConnectorRuntimeException { String txSupport = ConnectorRuntime.getRuntime().getConnectorDescriptor(rarName). getOutboundResourceAdapter().getTransSupport(); return parseTransactionSupportString(txSupport); } }