mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Violette Roche-Montane
14.52.2014 8298101415278c4a3504c1f5dc09e0e53dd83e37
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;