Class BackendCfgDefn
- java.lang.Object
-
- org.forgerock.opendj.config.AbstractManagedObjectDefinition<C,S>
-
- org.forgerock.opendj.config.ManagedObjectDefinition<BackendCfgClient,BackendCfg>
-
- org.forgerock.opendj.server.config.meta.BackendCfgDefn
-
public final class BackendCfgDefn extends ManagedObjectDefinition<BackendCfgClient,BackendCfg>
An interface for querying the Backend managed object definition meta information.Backends are responsible for providing access to the underlying data presented by the server.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BackendCfgClient
createClientConfiguration(ManagedObject<? extends BackendCfgClient> impl)
Creates a client configuration view of the provided managed object.BackendCfg
createServerConfiguration(ServerManagedObject<? extends BackendCfg> impl)
Creates a server configuration view of the provided server managed object.StringPropertyDefinition
getBackendIdPropertyDefinition()
Get the "backend-id" property definition.BooleanPropertyDefinition
getEnabledPropertyDefinition()
Get the "enabled" property definition.static BackendCfgDefn
getInstance()
Get the Backend configuration definition singleton.ClassPropertyDefinition
getJavaClassPropertyDefinition()
Get the "java-class" property definition.Class<BackendCfg>
getServerConfigurationClass()
Gets the server configuration class instance associated with this managed object definition.-
Methods inherited from class org.forgerock.opendj.config.AbstractManagedObjectDefinition
getAggregationPropertyDefinition, getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseAggregationPropertyDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDeprecated, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerDeprecated, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
-
-
-
-
Method Detail
-
getInstance
public static BackendCfgDefn getInstance()
Get the Backend configuration definition singleton.- Returns:
- Returns the Backend configuration definition singleton.
-
createClientConfiguration
public BackendCfgClient createClientConfiguration(ManagedObject<? extends BackendCfgClient> impl)
Description copied from class:ManagedObjectDefinition
Creates a client configuration view of the provided managed object. Modifications made to the underlying managed object will be reflected in the client configuration view and vice versa.- Specified by:
createClientConfiguration
in classManagedObjectDefinition<BackendCfgClient,BackendCfg>
- Parameters:
impl
- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public BackendCfg createServerConfiguration(ServerManagedObject<? extends BackendCfg> impl)
Description copied from class:ManagedObjectDefinition
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfiguration
in classManagedObjectDefinition<BackendCfgClient,BackendCfg>
- Parameters:
impl
- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
public Class<BackendCfg> getServerConfigurationClass()
Description copied from class:ManagedObjectDefinition
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClass
in classManagedObjectDefinition<BackendCfgClient,BackendCfg>
- Returns:
- Returns the server configuration class instance associated with this managed object definition.
-
getBackendIdPropertyDefinition
public StringPropertyDefinition getBackendIdPropertyDefinition()
Get the "backend-id" property definition.Specifies a name to identify the associated backend.
The name must be unique among all backends in the server. The backend ID may not be altered after the backend is created in the server.
- Returns:
- Returns the "backend-id" property definition.
-
getEnabledPropertyDefinition
public BooleanPropertyDefinition getEnabledPropertyDefinition()
Get the "enabled" property definition.Indicates whether the backend is enabled in the server.
If a backend is not enabled, then its contents are not accessible when processing operations.
- Returns:
- Returns the "enabled" property definition.
-
getJavaClassPropertyDefinition
public ClassPropertyDefinition getJavaClassPropertyDefinition()
Get the "java-class" property definition.Specifies the fully-qualified name of the Java class that provides the backend implementation.
- Returns:
- Returns the "java-class" property definition.
-
-