server/src/main/java/com/orientechnologies/orient/server/handler/OJMXPlugin.java
@Override
  public void shutdown() {
    try {
      MBeanServer mBeanServer = ManagementFactory.getPlatformMBeanServer();
      if (onProfiler != null)
        if (mBeanServer.isRegistered(onProfiler))
          mBeanServer.unregisterMBean(onProfiler);

    } catch (Exception e) {
      OLogManager.instance().error(this, "OrientDB Server v" + OConstants.getVersion() + " unregisterMBean error", e);
    }

  }
@Override
  public void shutdown() {
    try {
      MBeanServer mBeanServer = ManagementFactory.getPlatformMBeanServer();
      if (onProfiler != null)
        if (mBeanServer.isRegistered(onProfiler))
          mBeanServer.unregisterMBean(onProfiler);

    } catch (Exception e) {
      OLogManager.instance().error(this, "OrientDB Server v" + OConstants.getVersion() + " unregisterMBean error", e);
    }

  }
@ Override public void shutdown ( ) { try { MBeanServer mBeanServer = ManagementFactory . getPlatformMBeanServer ( ) ; if ( onProfiler != null ) if ( mBeanServer . isRegistered ( onProfiler ) ) mBeanServer . unregisterMBean ( onProfiler ) ; } catch ( Exception e ) { OLogManager . instance ( ) . error ( this , "OrientDB Server v" + OConstants . getVersion ( ) + " unregisterMBean error" , e ) ; } }
/*
(non-Javadoc)

@see com.orientechnologies.orient.server.handler.OServerHandlerAbstract#shutdown()
/ * ( non - Javadoc )