cnx = factory.createXATopicConnection(userName, password);
} else {
XAConnectionFactory factory = XATcpConnectionFactory.create(hostName, serverPort);
setParameters(factory);
((AbstractConnectionFactory) factory).setIdentityClassName(identityClass);
cnx = factory.createXAConnection(userName, password);
}
}
}
if (AdapterTracing.dbgAdapter.isLoggable(BasicLevel.DEBUG))
AdapterTracing.dbgAdapter.log(BasicLevel.DEBUG,