ResourceAdapter[] adapters = getResourceAdapters(module);
for (int j = 0; j < adapters.length; j++) {
ResourceAdapter adapter = adapters[j];
JCAResource[] resources = getRAResources(adapter);
for (int k = 0; k < resources.length; k++) {
JCAResource resource = resources[k];
JCAConnectionFactory[] factories = getConnectionFactories(resource);
for (int l = 0; l < factories.length; l++) {
JCAConnectionFactory factory = factories[l];
JCAManagedConnectionFactory mcf = getManagedConnectionFactory(factory);
if(mcf.getConnectionFactoryInterface().equals(connectionFactoryInterface)) {