in tx-control-providers/tx-control-provider-common/src/main/java/org/apache/aries/tx/control/resource/common/impl/ResourceActivator.java [44:63]
public void start(BundleContext context) throws Exception {
service = getServiceFactory(context);
if(service != null) {
reg = context.registerService(getAdvertisedInterface().getName(),
service, getServiceProperties());
}
msf = getConfigurationDefinedResourceFactory(context);
if(msf != null) {
factoryReg = context.registerService(ManagedServiceFactory.class,
msf, getMSFProperties());
}
if(service == null && msf == null) {
LOG.warn("The Resource Activator class {} defined no service factory or configuration defined resources", getClass().getName());
}
}