mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

lutoff
03.59.2006 cfccd522316e13fffe40abd327a7179ffd933ec7
opendj-sdk/opends/src/server/org/opends/server/protocols/jmx/JmxConnectionHandler.java
@@ -505,7 +505,9 @@
      String finalizeReason, boolean closeConnections)
  {
    assert debugEnter(CLASS_NAME, "finalizeConnectionHandler");
    rmiConnector.finalizeConnectionHandler(closeConnections);
    // We should also close the RMI registry.
    rmiConnector.finalizeConnectionHandler(closeConnections, true);
  }
  /**
@@ -552,7 +554,8 @@
  public void processServerShutdown(String reason)
  {
    assert debugEnter(CLASS_NAME, "processServerShutdown");
    rmiConnector.finalizeConnectionHandler(true);
    //  We should also close the RMI registry.
    rmiConnector.finalizeConnectionHandler(true, true);
  }
@@ -795,7 +798,8 @@
    //
    // Stop the current connector
    // TODO Set Msg
    this.finalizeConnectionHandler("new config", true);
    this.rmiConnector.finalizeConnectionHandler(true,
        (listenPort != newListenPort));
    //
    // set new params and update JMX attributes