From 8298101415278c4a3504c1f5dc09e0e53dd83e37 Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Mon, 14 Apr 2014 14:52:42 +0000
Subject: [PATCH] OPENDJ-1343 Migrate dsconfig - Removed unnecessary interface ManagementContextFactory. - Minor code cleanup.
---
opendj3-server-dev/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java b/opendj3-server-dev/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java
index e2fd071..f9ac25a 100644
--- a/opendj3-server-dev/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java
+++ b/opendj3-server-dev/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java
@@ -46,9 +46,9 @@
import com.forgerock.opendj.cli.ReturnCode;
/**
- * An LDAP management context factory.
+ * An LDAP management context factory for the DSConfig tool.
*/
-public final class LDAPManagementContextFactory implements ManagementContextFactory
+public final class LDAPManagementContextFactory
{
/** The management context. */
@@ -79,15 +79,21 @@
factory = cfp.getAuthenticatedConnectionFactory();
}
- /** {@inheritDoc} */
- @Override
+ /**
+ * Closes this management context.
+ */
public void close()
{
closeSilently(context);
}
- /** {@inheritDoc} */
- @Override
+ /**
+ * Returns the command builder that provides the equivalent arguments in
+ * interactive mode to get the management context.
+ *
+ * @return the command builder that provides the equivalent arguments in
+ * interactive mode to get the management context.
+ */
public CommandBuilder getContextCommandBuilder()
{
return contextCommandBuilder;
--
Gitblit v1.10.0