question: private void registerMBean ( ) { if ( wroConfiguration . isJmxEnabled ( ) ) { try { mbeanServer = getMBeanServer ( ) ; final ObjectName name = getMBeanObjectName ( ) ; if ( ! mbeanServer . isRegistered ( name ) ) { mbeanServer . registerMBean ( wroConfiguration , name ) ; } } catch ( final JMException e ) { LOG . error ( "Exception occured while registering MBean" , e ) ; } } }
target:  Expose MBean to tell JMX infrastructure about our MBean (only if jmxEnabled is true).