public final class NullBackendCfgDefn extends ManagedObjectDefinition<NullBackendCfgClient,NullBackendCfg>
The Null Backend provides a directory server backend that implements a /dev/null like behavior for development and testing.
Modifier and Type | Method and Description |
---|---|
NullBackendCfgClient |
createClientConfiguration(ManagedObject<? extends NullBackendCfgClient> impl)
Creates a client configuration view of the provided managed
object.
|
NullBackendCfg |
createServerConfiguration(ServerManagedObject<? extends NullBackendCfg> impl)
Creates a server configuration view of the provided server
managed object.
|
StringPropertyDefinition |
getBackendIdPropertyDefinition()
Get the "backend-id" property definition.
|
DNPropertyDefinition |
getBaseDNPropertyDefinition()
Get the "base-dn" property definition.
|
BooleanPropertyDefinition |
getEnabledPropertyDefinition()
Get the "enabled" property definition.
|
static NullBackendCfgDefn |
getInstance()
Get the Null Backend configuration definition singleton.
|
ClassPropertyDefinition |
getJavaClassPropertyDefinition()
Get the "java-class" property definition.
|
Class<NullBackendCfg> |
getServerConfigurationClass()
Gets the server configuration class instance associated with this
managed object definition.
|
EnumPropertyDefinition<BackendCfgDefn.WritabilityMode> |
getWritabilityModePropertyDefinition()
Get the "writability-mode" property definition.
|
getAggregationPropertyDefinition, getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseAggregationPropertyDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
public static NullBackendCfgDefn getInstance()
public NullBackendCfgClient createClientConfiguration(ManagedObject<? extends NullBackendCfgClient> impl)
createClientConfiguration
in class ManagedObjectDefinition<NullBackendCfgClient,NullBackendCfg>
impl
- The managed object.public NullBackendCfg createServerConfiguration(ServerManagedObject<? extends NullBackendCfg> impl)
createServerConfiguration
in class ManagedObjectDefinition<NullBackendCfgClient,NullBackendCfg>
impl
- The server managed object.public Class<NullBackendCfg> getServerConfigurationClass()
getServerConfigurationClass
in class ManagedObjectDefinition<NullBackendCfgClient,NullBackendCfg>
public StringPropertyDefinition getBackendIdPropertyDefinition()
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.
public DNPropertyDefinition getBaseDNPropertyDefinition()
Specifies the base DN(s) for the data that the backend handles.
A single backend may be responsible for one or more base DNs. Note that no two backends may have the same base DN although one backend may have a base DN that is below a base DN provided by another backend (similar to the use of sub-suffixes in the Sun Java System Directory Server). If any of the base DNs is subordinate to a base DN for another backend, then all base DNs for that backend must be subordinate to that same base DN.
public BooleanPropertyDefinition getEnabledPropertyDefinition()
Indicates whether the backend is enabled in the server.
If a backend is not enabled, then its contents are not accessible when processing operations.
public ClassPropertyDefinition getJavaClassPropertyDefinition()
Specifies the fully-qualified name of the Java class that provides the backend implementation.
public EnumPropertyDefinition<BackendCfgDefn.WritabilityMode> getWritabilityModePropertyDefinition()
Specifies the behavior that the backend should use when processing write operations.
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.