public void start ( ) { initMBeanServer ( globalConfig ) ; if ( mBeanServer != null ) { Collection < ComponentRef < ? > > components = basicComponentRegistry . getRegisteredComponents ( ) ; resourceDMBeans = Collections . synchronizedCollection ( getResourceDMBeansFromComponents ( components ) ) ; registrar . registerMBeans ( resourceDMBeans ) ; needToUnregister = true ; } stopped = false ; }
On start the mbeans are registered .