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

floblanc
29.40.2008 2964e0f4cbf0dcee17b1d333a0ac3312e9a5370d
opends/src/server/org/opends/server/api/ConnectionHandler.java
@@ -60,6 +60,9 @@
  // The monitor associated with this connection handler.
  private ConnectionHandlerMonitor monitor;
  // Is this handler the admin connection handler
  private boolean isAdminConnectionHandler = false;
  /**
@@ -239,6 +242,25 @@
  /**
   * Sets this connection handler as the admin connection handler.
   */
  public void setAdminConnectionHandler() {
    isAdminConnectionHandler = true;
  }
  /**
   * Returns whether this connection handler is the admin
   * connection handler.
   * @return boolean True if this connection handler is the admin
   *                 connection handler, false otherwise
   */
  public boolean isAdminConnectionHandler() {
    return isAdminConnectionHandler;
  }
  /**
   * Retrieves a string representation of this connection handler.
   *
   * @return A string representation of this connection handler.