question: public static void unregisterMBean ( String name ) throws Exception { ObjectName mbeanObjectName = MBEANS . remove ( name ) ; if ( mbeanObjectName != null ) { MBeanServer mbeanServer = ManagementFactory . getPlatformMBeanServer ( ) ; mbeanServer . unregisterMBean ( mbeanObjectName ) ; } }
target:  Unregisters the MBean for the database if one is registered.