res.getConnectorResourceByJndiName(resourceName);
if(connectorResource == null || !connectorResource.isEnabled()) {
return null;
}
String poolName = connectorResource.getPoolName();
ConnectorConnectionPool ccPool =
res.getConnectorConnectionPoolByName(poolName);
if(ccPool == null) {
return null;
}
String rarName = ccPool.getResourceAdapterName();
if(rarName != null){
resourcesToload[0] = ccPool;
resourcesToload[1] = connectorResource;
ResourceAdapterConfig[] resourceAdapterConfig =
new ResourceAdapterConfig[1];