org.opends.server.tools
Class BackendToolUtils

java.lang.Object
  extended by org.opends.server.tools.BackendToolUtils

public class BackendToolUtils
extends java.lang.Object

This class provides utility functions for all JE related client tools.


Constructor Summary
BackendToolUtils()
           
 
Method Summary
static int getBackends(java.util.ArrayList<Backend> backendList, java.util.ArrayList<BackendCfg> entryList, java.util.ArrayList<java.util.List<DN>> dnList)
          Retrieves information about the backends defined in the Directory Server configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackendToolUtils

public BackendToolUtils()
Method Detail

getBackends

public static int getBackends(java.util.ArrayList<Backend> backendList,
                              java.util.ArrayList<BackendCfg> entryList,
                              java.util.ArrayList<java.util.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.