From 6e7a584808039d13a79c957e968b580176357153 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 05 Jul 2007 16:07:24 +0000
Subject: [PATCH] Eliminate the ConfigurableComponent interface, as it is no longer needed and has been replaced by the ConfigurationChangeListener interface.
---
opends/src/server/org/opends/server/replication/server/ReplicationServer.java | 41 +----------------------------------------
1 files changed, 1 insertions(+), 40 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/server/ReplicationServer.java b/opends/src/server/org/opends/server/replication/server/ReplicationServer.java
index b4bf0cf..e8cc35f 100644
--- a/opends/src/server/org/opends/server/replication/server/ReplicationServer.java
+++ b/opends/src/server/org/opends/server/replication/server/ReplicationServer.java
@@ -48,10 +48,8 @@
import org.opends.server.admin.server.ConfigurationChangeListener;
import org.opends.server.admin.std.server.MonitorProviderCfg;
import org.opends.server.admin.std.server.ReplicationServerCfg;
-import org.opends.server.api.ConfigurableComponent;
import org.opends.server.api.MonitorProvider;
import org.opends.server.config.ConfigAttribute;
-import org.opends.server.config.ConfigEntry;
import org.opends.server.config.ConfigException;
import org.opends.server.core.DirectoryServer;
import org.opends.server.replication.protocol.SocketSession;
@@ -77,8 +75,7 @@
* It is responsible for creating the replication server cache and managing it
*/
public class ReplicationServer extends MonitorProvider<MonitorProviderCfg>
- implements Runnable, ConfigurableComponent,
- ConfigurationChangeListener<ReplicationServerCfg>
+ implements Runnable, ConfigurationChangeListener<ReplicationServerCfg>
{
private short serverId;
private String serverURL;
@@ -156,42 +153,6 @@
DirectoryServer.registerMonitorProvider(this);
}
- /**
- * {@inheritDoc}
- */
- public DN getConfigurableComponentEntryDN()
- {
- return configDn;
- }
-
- /**
- * {@inheritDoc}
- */
- public List<ConfigAttribute> getConfigurationAttributes()
- {
- return configAttributes ;
- }
-
- /**
- * {@inheritDoc}
- */
- public boolean hasAcceptableConfiguration(ConfigEntry configEntry,
- List<String> unacceptableReasons)
- {
- // TODO NYI
- return true;
- }
-
- /**
- * {@inheritDoc}
- */
- public ConfigChangeResult applyNewConfiguration(ConfigEntry configEntry,
- boolean detailedResults)
- {
- // TODO NYI
- return null;
- }
-
/**
* The run method for the Listen thread.
--
Gitblit v1.10.0