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

neil_a_wilson
25.46.2007 b0cf989c6727f18d0c7ee80b4753ef95d60955ea
opends/src/server/org/opends/server/monitors/DatabaseEnvironmentMonitor.java
@@ -30,9 +30,9 @@
import org.opends.server.loggers.debug.DebugTracer;
import org.opends.server.types.DebugLogLevel;
import org.opends.server.admin.std.server.MonitorProviderCfg;
import org.opends.server.api.AttributeSyntax;
import org.opends.server.api.MonitorProvider;
import org.opends.server.config.ConfigEntry;
import org.opends.server.config.ConfigException;
import org.opends.server.core.DirectoryServer;
import org.opends.server.protocols.asn1.ASN1OctetString;
@@ -58,7 +58,8 @@
 * It uses reflection on the environment statistics object
 * so that we don't need to keep a list of all the stats.
 */
public class DatabaseEnvironmentMonitor extends MonitorProvider
public class DatabaseEnvironmentMonitor
       extends MonitorProvider<MonitorProviderCfg>
{
  /**
   * The tracer object for the debug logger.
@@ -95,20 +96,9 @@
  /**
   * Initializes this monitor provider based on the information in the provided
   * configuration entry.
   *
   * @param configEntry The configuration entry that contains the information
   *                    to use to initialize this monitor provider.
   * @throws org.opends.server.config.ConfigException
   *          If an unrecoverable problem arises in the
   *          process of performing the initialization.
   * @throws org.opends.server.types.InitializationException
   *          If a problem occurs during initialization
   *          that is not related to the server
   *          configuration.
   * {@inheritDoc}
   */
  public void initializeMonitorProvider(ConfigEntry configEntry)
  public void initializeMonitorProvider(MonitorProviderCfg configuration)
       throws ConfigException, InitializationException
  {
  }