}
createDestroyServiceBuilder.install();
startStopServiceBuilder.install();
// Add service to register the bean in the mbean server
final MBeanRegistrationService<Object> mbeanRegistrationService = new MBeanRegistrationService(serviceName);
target.addService(MBeanRegistrationService.SERVICE_NAME.append(serviceName), mbeanRegistrationService)
.addDependency(MBeanServerService.SERVICE_NAME, MBeanServer.class, mbeanRegistrationService.getMBeanServerInjector())
.addDependency(startStopServiceName, Object.class, mbeanRegistrationService.getValueInjector())
.install();
}