From a3fec1e316d6942be1dc1fd8fde1464f18ba12b6 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Sun, 24 Jun 2007 22:19:02 +0000
Subject: [PATCH] Migrate the attribute syntax configuration to the admin framework.

---
 opendj-sdk/opends/src/server/org/opends/server/schema/MatchingRuleUseSyntax.java |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/schema/MatchingRuleUseSyntax.java b/opendj-sdk/opends/src/server/org/opends/server/schema/MatchingRuleUseSyntax.java
index a6cca49..e12647f 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/schema/MatchingRuleUseSyntax.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/schema/MatchingRuleUseSyntax.java
@@ -33,13 +33,13 @@
 import java.util.LinkedList;
 import java.util.List;
 
+import org.opends.server.admin.std.server.AttributeSyntaxCfg;
 import org.opends.server.api.ApproximateMatchingRule;
 import org.opends.server.api.AttributeSyntax;
 import org.opends.server.api.EqualityMatchingRule;
 import org.opends.server.api.MatchingRule;
 import org.opends.server.api.OrderingMatchingRule;
 import org.opends.server.api.SubstringMatchingRule;
-import org.opends.server.config.ConfigEntry;
 import org.opends.server.config.ConfigException;
 import org.opends.server.core.DirectoryServer;
 import org.opends.server.types.AttributeType;
@@ -66,7 +66,7 @@
  * this syntax is defined in RFC 2252.
  */
 public class MatchingRuleUseSyntax
-       extends AttributeSyntax
+       extends AttributeSyntax<AttributeSyntaxCfg>
 {
   /**
    * The tracer object for the debug logger.
@@ -96,7 +96,6 @@
   public MatchingRuleUseSyntax()
   {
     super();
-
   }
 
 
@@ -104,7 +103,7 @@
   /**
    * {@inheritDoc}
    */
-  public void initializeSyntax(ConfigEntry configEntry)
+  public void initializeSyntax(AttributeSyntaxCfg configuration)
          throws ConfigException, InitializationException
   {
     defaultEqualityMatchingRule =

--
Gitblit v1.10.0