in tx-control-providers/tx-control-provider-common/src/main/java/org/apache/aries/tx/control/resource/common/impl/ResourceActivator.java [66:83]
public void stop(BundleContext context) throws Exception {
safeUnregister(reg);
safeUnregister(factoryReg);
if(msf != null) {
try {
msf.stop();
} catch (Exception e) {
LOG.error("There was an error closing the Configuration Defined Resource Manager", e);
}
}
if(service != null) {
try {
service.close();
} catch (Exception e) {
LOG.error("There was an error closing the ResourceProviderFactory", e);
}
}
}