/**
* @see javax.management.MBeanRegistration#postRegister(java.lang.Boolean)
*/
public void postRegister(Boolean registrationDone) {
if (registrationDone && registrations.incrementAndGet() == 1) {
eventDispatcher = Executors.newSingleThreadExecutor(new JMXThreadFactory("JMX OSGi Service State Event Dispatcher"));
bundleContext.addServiceListener(serviceListener);
}
}