From 2bf80e51262791cae4bea6553c4af052e96dc740 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 25 Jun 2007 00:06:03 +0000
Subject: [PATCH] Migrate the matching rule configuration to the admin framework.
---
opends/src/server/org/opends/server/schema/DirectoryStringFirstComponentEqualityMatchingRule.java | 21 +++------------------
1 files changed, 3 insertions(+), 18 deletions(-)
diff --git a/opends/src/server/org/opends/server/schema/DirectoryStringFirstComponentEqualityMatchingRule.java b/opends/src/server/org/opends/server/schema/DirectoryStringFirstComponentEqualityMatchingRule.java
index 5db0a6e..4c5a376 100644
--- a/opends/src/server/org/opends/server/schema/DirectoryStringFirstComponentEqualityMatchingRule.java
+++ b/opends/src/server/org/opends/server/schema/DirectoryStringFirstComponentEqualityMatchingRule.java
@@ -28,8 +28,8 @@
+import org.opends.server.admin.std.server.EqualityMatchingRuleCfg;
import org.opends.server.api.EqualityMatchingRule;
-import org.opends.server.config.ConfigEntry;
import org.opends.server.config.ConfigException;
import org.opends.server.protocols.asn1.ASN1OctetString;
import org.opends.server.types.AttributeValue;
@@ -55,9 +55,6 @@
public class DirectoryStringFirstComponentEqualityMatchingRule
extends EqualityMatchingRule
{
-
-
-
/**
* Creates a new instance of this directoryStringFirstComponentMatch matching
* rule.
@@ -65,26 +62,14 @@
public DirectoryStringFirstComponentEqualityMatchingRule()
{
super();
-
}
/**
- * Initializes this matching rule based on the information in the provided
- * configuration entry.
- *
- * @param configEntry The configuration entry that contains the information
- * to use to initialize this matching rule.
- *
- * @throws ConfigException If an unrecoverable problem arises in the
- * process of performing the initialization.
- *
- * @throws InitializationException If a problem that is not
- * configuration-related occurs during
- * initialization.
+ * {@inheritDoc}
*/
- public void initializeMatchingRule(ConfigEntry configEntry)
+ public void initializeMatchingRule(EqualityMatchingRuleCfg configuration)
throws ConfigException, InitializationException
{
// No initialization is required.
--
Gitblit v1.10.0