org.opends.server.admin.std.meta
Class ReplicationSynchronizationProviderCfgDefn

java.lang.Object
  extended by org.opends.server.admin.AbstractManagedObjectDefinition<C,S>
      extended by org.opends.server.admin.ManagedObjectDefinition<ReplicationSynchronizationProviderCfgClient,ReplicationSynchronizationProviderCfg>
          extended by org.opends.server.admin.std.meta.ReplicationSynchronizationProviderCfgDefn

public final class ReplicationSynchronizationProviderCfgDefn
extends ManagedObjectDefinition<ReplicationSynchronizationProviderCfgClient,ReplicationSynchronizationProviderCfg>

An interface for querying the Replication Synchronization Provider managed object definition meta information.

The Replication Synchronization Provider provides multi-master replication of data across multiple Directory Server instances.


Method Summary
 ReplicationSynchronizationProviderCfgClient createClientConfiguration(ManagedObject<? extends ReplicationSynchronizationProviderCfgClient> impl)
          Creates a client configuration view of the provided managed object.
 ReplicationSynchronizationProviderCfg createServerConfiguration(ServerManagedObject<? extends ReplicationSynchronizationProviderCfg> impl)
          Creates a server configuration view of the provided server managed object.
 BooleanPropertyDefinition getEnabledPropertyDefinition()
          Get the "enabled" property definition.
static ReplicationSynchronizationProviderCfgDefn getInstance()
          Get the Replication Synchronization Provider configuration definition singleton.
 ClassPropertyDefinition getJavaClassPropertyDefinition()
          Get the "java-class" property definition.
 IntegerPropertyDefinition getNumUpdateReplayThreadsPropertyDefinition()
          Get the "num-update-replay-threads" property definition.
 InstantiableRelationDefinition<ReplicationDomainCfgClient,ReplicationDomainCfg> getReplicationDomainsRelationDefinition()
          Get the "replication-domains" relation definition.
 OptionalRelationDefinition<ReplicationServerCfgClient,ReplicationServerCfg> getReplicationServerRelationDefinition()
          Get the "replication-server" relation definition.
 java.lang.Class<ReplicationSynchronizationProviderCfg> getServerConfigurationClass()
          Gets the server configuration class instance associated with this managed object definition.
 
Methods inherited from class org.opends.server.admin.AbstractManagedObjectDefinition
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static ReplicationSynchronizationProviderCfgDefn getInstance()
Get the Replication Synchronization Provider configuration definition singleton.

Returns:
Returns the Replication Synchronization Provider configuration definition singleton.

createClientConfiguration

public ReplicationSynchronizationProviderCfgClient createClientConfiguration(ManagedObject<? extends ReplicationSynchronizationProviderCfgClient> impl)
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 class ManagedObjectDefinition<ReplicationSynchronizationProviderCfgClient,ReplicationSynchronizationProviderCfg>
Parameters:
impl - The managed object.
Returns:
Returns a client configuration view of the provided managed object.

createServerConfiguration

public ReplicationSynchronizationProviderCfg createServerConfiguration(ServerManagedObject<? extends ReplicationSynchronizationProviderCfg> impl)
Creates a server configuration view of the provided server managed object.

Specified by:
createServerConfiguration in class ManagedObjectDefinition<ReplicationSynchronizationProviderCfgClient,ReplicationSynchronizationProviderCfg>
Parameters:
impl - The server managed object.
Returns:
Returns a server configuration view of the provided server managed object.

getServerConfigurationClass

public java.lang.Class<ReplicationSynchronizationProviderCfg> getServerConfigurationClass()
Gets the server configuration class instance associated with this managed object definition.

Specified by:
getServerConfigurationClass in class ManagedObjectDefinition<ReplicationSynchronizationProviderCfgClient,ReplicationSynchronizationProviderCfg>
Returns:
Returns the server configuration class instance associated with this managed object definition.

getEnabledPropertyDefinition

public BooleanPropertyDefinition getEnabledPropertyDefinition()
Get the "enabled" property definition.

Indicates whether the Replication Synchronization Provider is enabled for use.

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 Replication Synchronization Provider implementation.

Returns:
Returns the "java-class" property definition.

getNumUpdateReplayThreadsPropertyDefinition

public IntegerPropertyDefinition getNumUpdateReplayThreadsPropertyDefinition()
Get the "num-update-replay-threads" property definition.

Specifies the number of update replay threads.

This value is the number of threads created for replaying every updates received for all the replication domains.

Returns:
Returns the "num-update-replay-threads" property definition.

getReplicationDomainsRelationDefinition

public InstantiableRelationDefinition<ReplicationDomainCfgClient,ReplicationDomainCfg> getReplicationDomainsRelationDefinition()
Get the "replication-domains" relation definition.

Returns:
Returns the "replication-domains" relation definition.

getReplicationServerRelationDefinition

public OptionalRelationDefinition<ReplicationServerCfgClient,ReplicationServerCfg> getReplicationServerRelationDefinition()
Get the "replication-server" relation definition.

Returns:
Returns the "replication-server" relation definition.