try {
ruleServiceManger.setRegistryService(registryService);
ruleServiceManger.setInputOutputAdaptersService(adaptersService);
serviceRegistration = componentContext.getBundleContext().registerService(
RuleCEPDeployerService.class.getName(),
new RuleCEPDeployerService(),
null);
Utils.registerDeployerServices(componentContext.getBundleContext());
} catch (Exception e) {
String msg = "Failed to register ServiceDeployer as an OSGi service.";