public void start ( ) { ObjectName beanName = null ; try { MBeanServer server = ManagementFactory . getPlatformMBeanServer ( ) ; beanName = getObjectName ( ) ; server . registerMBean ( this , beanName ) ; } catch ( InstanceAlreadyExistsException e ) { LOGGER . warn ( JcrI18n . mBeanAlreadyRegistered , beanName ) ; } catch ( Exception e ) { LOGGER . error ( e , JcrI18n . cannotRegisterMBean , beanName ) ; } }
Initializes & registers this MBean with the local MBean server .