From 5dc84237386f1d7a05371e1a8d172cc47fb0032d Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Sun, 24 Jun 2007 02:48:27 +0000
Subject: [PATCH] Migrate the group configuration to the admin framework.

---
 opendj-sdk/opends/src/server/org/opends/server/api/Group.java |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/api/Group.java b/opendj-sdk/opends/src/server/org/opends/server/api/Group.java
index 1263c11..99e4bfe 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/api/Group.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/api/Group.java
@@ -30,7 +30,7 @@
 
 import java.util.List;
 
-import org.opends.server.config.ConfigEntry;
+import org.opends.server.admin.std.server.GroupImplementationCfg;
 import org.opends.server.config.ConfigException;
 import org.opends.server.types.DirectoryException;
 import org.opends.server.types.DN;
@@ -59,17 +59,20 @@
  *       group type provides the ability to explicitly add or remove
  *       members.</LI>
  * </UL>
+ *
+ * @param  <T>  The type of configuration handled by this group
+ *              implementation.
  */
-public abstract class Group
+public abstract class Group<T
+       extends GroupImplementationCfg>
 {
   /**
    * Initializes a "shell" instance of this group implementation that
    * may be used to identify and instantiate instances of this type of
    * group in the directory data.
    *
-   * @param  configEntry  The configuration entry that may contain
-   *                      information about the way that this group
-   *                      implementation should operate.
+   * @param  configuration  The configuration for this group
+   *                        implementation.
    *
    * @throws  ConfigException  If there is a problem with the provided
    *                           configuration entry.
@@ -80,8 +83,7 @@
    *                                   not related to the server
    *                                   configuration.
    */
-  public abstract void initializeGroupImplementation(
-                            ConfigEntry configEntry)
+  public abstract void initializeGroupImplementation(T configuration)
          throws ConfigException, InitializationException;
 
 

--
Gitblit v1.10.0