Class BackendToolUtils


  • public class BackendToolUtils
    extends Object
    This class provides utility functions for all backend client tools.
    • Constructor Detail

      • BackendToolUtils

        public BackendToolUtils()
    • Method Detail

      • getBackends

        public static int getBackends​(List<LocalBackend<?>> backendList,
                                      List<BackendCfg> entryList,
                                      List<List<DN>> dnList)
        Retrieves information about the backends defined in the Directory Server configuration.
        Parameters:
        backendList - A list into which instantiated (but not initialized) backend instances will be placed.
        entryList - A list into which the config entries associated with the backends will be placed.
        dnList - A list into which the set of base DNs for each backend will be placed.
        Returns:
        0 if everything went fine. 1 if an error occurred.