question: public static void unregisterSpaceMBean ( String spaceName , String containerName ) { if ( m_MBeanServer == null ) return ; try { String fullSpaceName = JSpaceUtilities . createFullSpaceName ( containerName , spaceName ) ; ObjectInstance objInst = m_MBeansRepository . remove ( fullSpaceName ) ; if ( objInst != null ) { m_MBeanServer . unregisterMBean ( objInst . getObjectName ( ) ) ; } objInst = m_MBeansRepository . remove ( fullSpaceName + "Ext" ) ; if ( objInst != null ) { m_MBeanServer . unregisterMBean ( objInst . getObjectName ( ) ) ; } if ( _logger . isLoggable ( Level . CONFIG ) ) { _logger . config ( "Space <" + containerName + ":" + spaceName + "> MBean was unregister successfully." ) ; } } catch ( Exception ex ) { if ( _logger . isLoggable ( Level . WARNING ) ) { _logger . log ( Level . WARNING , "Failed to unregister MBean for <" + containerName + ":" + spaceName + "> space." , ex ) ; } } }
target:  Release mbean registration for JSpace.