Interface ManagementContextFactory

    • Method Detail

      • getManagementContext

        ManagementContext getManagementContext()
                                        throws com.forgerock.opendj.cli.ClientException
        Gets the management context which sub-commands should use in order to manage the directory server.

        The manangement context is created lazily, this method should always return the same management context instance.

        Returns:
        Returns the management context which sub-commands should use in order to manage the directory server.
        Throws:
        com.forgerock.opendj.cli.ClientException - If the management context could not be created.