public class BackendCreationHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BackendCreationHelper.DefaultIndex
Describes an attribute index which should be created during installation.
|
Modifier and Type | Field and Description |
---|---|
static BackendCreationHelper.DefaultIndex[] |
DEFAULT_INDEXES
Default indexes to add in a new backend.
|
Constructor and Description |
---|
BackendCreationHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
createBackend(org.forgerock.opendj.server.config.client.RootCfgClient rootConfiguration,
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)
Create a backend with the provided name using the provided
RootCfgClient . |
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.
|
public static final BackendCreationHelper.DefaultIndex[] DEFAULT_INDEXES
public BackendCreationHelper()
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 createBackend(org.forgerock.opendj.server.config.client.RootCfgClient rootConfiguration, 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
RootCfgClient
.rootConfiguration
- The root configuration to use to create the new backendbackendName
- The new backend namebaseDNs
- The base dns to add in the new backend.backendType
- The backend typeException
- If any problems occurredCopyright © 2010-2016 ForgeRock AS. All Rights Reserved.