public class BackendToolUtils extends Object
Constructor and Description |
---|
BackendToolUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
getBackends(List<Backend<?>> backendList,
List<BackendCfg> entryList,
List<List<DN>> dnList)
Retrieves information about the backends defined in the Directory Server
configuration.
|
static String |
getStringSingleValuedAttribute(Entry entry,
String attrName)
Returns a string from the single valued attribute in provided entry.
|
public BackendToolUtils()
public static int getBackends(List<Backend<?>> backendList, List<BackendCfg> entryList, List<List<DN>> dnList)
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.public static String getStringSingleValuedAttribute(Entry entry, String attrName)
entry
- the entryattrName
- the attribute namenull
Copyright 2010-2017 ForgeRock AS.