From 4d488857c1e78805224dcb1eab91e47586ceba5b Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Mon, 14 Jan 2008 10:43:58 +0000
Subject: [PATCH] Partial fix for issue 2661 - public APIs must not reference private classes.

---
 opendj-sdk/opends/src/server/org/opends/server/admin/Configuration.java |   22 ++++------------------
 1 files changed, 4 insertions(+), 18 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/admin/Configuration.java b/opendj-sdk/opends/src/server/org/opends/server/admin/Configuration.java
index 6046c5d..0d6a17e 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/admin/Configuration.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/admin/Configuration.java
@@ -22,14 +22,13 @@
  * CDDL HEADER END
  *
  *
- *      Portions Copyright 2007 Sun Microsystems, Inc.
+ *      Portions Copyright 2007-2008 Sun Microsystems, Inc.
  */
 
 package org.opends.server.admin;
 
 
 
-import org.opends.server.admin.server.ServerManagedObject;
 import org.opends.server.types.DN;
 
 
@@ -51,23 +50,10 @@
 
 
   /**
-   * Gets the configuration definition associated with this
-   * configuration.
+   * Gets the configuration class associated with this configuration.
    *
-   * @return Returns the configuration definition associated with this
+   * @return Returns the configuration class associated with this
    *         configuration.
    */
-  ManagedObjectDefinition<? extends ConfigurationClient,
-      ? extends Configuration> definition();
-
-
-
-  /**
-   * Gets the underlying server-side managed object associated with
-   * this configuration.
-   *
-   * @return Returns the underlying server-side managed object
-   *         associated with this configuration.
-   */
-  ServerManagedObject<? extends Configuration> managedObject();
+  Class<? extends Configuration> configurationClass();
 }

--
Gitblit v1.10.0