Package org.opends.server.tools
Class BackendToolUtils
- java.lang.Object
-
- org.opends.server.tools.BackendToolUtils
-
public class BackendToolUtils extends Object
This class provides utility functions for all backend client tools.
-
-
Constructor Summary
Constructors Constructor Description BackendToolUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetBackends(List<LocalBackend<?>> backendList, List<BackendCfg> entryList, List<List<DN>> dnList)Retrieves information about the backends defined in the Directory Server configuration.
-
-
-
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.
-
-