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

neil_a_wilson
25.46.2007 b0cf989c6727f18d0c7ee80b4753ef95d60955ea
opends/src/server/org/opends/server/monitors/ConnectionHandlerMonitor.java
@@ -32,10 +32,11 @@
import java.util.LinkedList;
import java.util.List;
import org.opends.server.admin.std.server.ConnectionHandlerCfg;
import org.opends.server.admin.std.server.MonitorProviderCfg;
import org.opends.server.api.ClientConnection;
import org.opends.server.api.ConnectionHandler;
import org.opends.server.api.MonitorProvider;
import org.opends.server.config.ConfigEntry;
import org.opends.server.types.Attribute;
import org.opends.server.types.AttributeType;
import org.opends.server.types.AttributeValue;
@@ -54,11 +55,8 @@
 * listeners, and established connections.
 */
public class ConnectionHandlerMonitor
       extends MonitorProvider
       extends MonitorProvider<MonitorProviderCfg>
{
  // The attribute type that will be used to report the established connections.
  private AttributeType connectionsType;
@@ -88,11 +86,11 @@
   * @param  connectionHandler  The connection handler with which this monitor
   *                            is associated.
   */
  public ConnectionHandlerMonitor(ConnectionHandler connectionHandler)
  public ConnectionHandlerMonitor(
       ConnectionHandler<? extends ConnectionHandlerCfg> connectionHandler)
  {
    super(connectionHandler.getConnectionHandlerName());
    this.connectionHandler = connectionHandler;
  }
@@ -101,7 +99,7 @@
  /**
   * {@inheritDoc}
   */
  public void initializeMonitorProvider(ConfigEntry configEntry)
  public void initializeMonitorProvider(MonitorProviderCfg configuration)
  {
    monitorName = connectionHandler.getConnectionHandlerName();