public class BackendCreationHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BackendCreationHelper.CreateIndex
Describes an attribute index which should be created during installation.
|
| Modifier and Type | Field and Description |
|---|---|
static BackendCreationHelper.CreateIndex[] |
DEFAULT_INDEXES
Default indexes to add in a new backend.
|
| Constructor and Description |
|---|
BackendCreationHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createBackendOffline(String backendName,
Collection<org.forgerock.opendj.ldap.DN> baseDNs,
org.forgerock.opendj.config.ManagedObjectDefinition<? extends org.forgerock.opendj.server.config.client.BackendCfgClient,? extends org.forgerock.opendj.server.config.server.BackendCfg> backendType)
Add a new backend with the provided name in the config.ldif file.
|
static void |
createBackendOnline(String backendName,
Collection<org.forgerock.opendj.ldap.DN> baseDNs,
org.forgerock.opendj.config.ManagedObjectDefinition<? extends org.forgerock.opendj.server.config.client.BackendCfgClient,? extends org.forgerock.opendj.server.config.server.BackendCfg> backendType,
ConnectionWrapper conn)
Add a new backend with the provided name in the config.ldif file.
|
public static final BackendCreationHelper.CreateIndex[] DEFAULT_INDEXES
public static void createBackendOffline(String backendName, Collection<org.forgerock.opendj.ldap.DN> baseDNs, org.forgerock.opendj.config.ManagedObjectDefinition<? extends org.forgerock.opendj.server.config.client.BackendCfgClient,? extends org.forgerock.opendj.server.config.server.BackendCfg> backendType) throws Exception
backendName - The new backend namebaseDNs - The base dns to add in the new backend.backendType - The backend typeException - If any problems occurredpublic static void createBackendOnline(String backendName, Collection<org.forgerock.opendj.ldap.DN> baseDNs, org.forgerock.opendj.config.ManagedObjectDefinition<? extends org.forgerock.opendj.server.config.client.BackendCfgClient,? extends org.forgerock.opendj.server.config.server.BackendCfg> backendType, ConnectionWrapper conn) throws Exception
backendName - The new backend namebaseDNs - The base dns to add in the new backend.backendType - The backend typeconn - The connection to the serverException - If any problems occurredCopyright © 2010-2020 Wren Security. All Rights Reserved.