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

neil_a_wilson
07.39.2007 069dda19264fd479c0022e278c8095205443ca5e
opendj-sdk/opends/src/server/org/opends/server/protocols/jmx/RmiConnector.java
@@ -128,7 +128,12 @@
  /**
   * The Underlying Socket factory.
   */
  OpendsRmiServerSocketFactory rmiSsf;
  private OpendsRmiServerSocketFactory rmiSsf;
  /**
   * The RMI protocol verison used by this connector.
   */
  private String rmiVersion;
  // ===================================================================
  // CONSTRUCTOR
@@ -398,6 +403,7 @@
      // TODO Should we do that?
      ObjectName name = new ObjectName(jmxRmiConnectorNoClientCertificateName);
      mbs.registerMBean(jmxRmiConnectorNoClientCertificate, name);
      rmiVersion = opendsRmiConnectorServer.getVersion();
      if (debugEnabled())
      {
@@ -505,4 +511,16 @@
    }
  }
  /**
   * Retrieves the RMI protocol version string in use for this connector.
   *
   * @return  The RMI protocol version string in use for this connector.
   */
  public String getProtocolVersion()
  {
    return rmiVersion;
  }
}