org.opends.server.admin
Class ManagedObjectDefinition<C extends ConfigurationClient,S extends Configuration>

java.lang.Object
  extended by org.opends.server.admin.AbstractManagedObjectDefinition<C,S>
      extended by org.opends.server.admin.ManagedObjectDefinition<C,S>
Type Parameters:
C - The type of client managed object configuration that this definition represents.
S - The type of server managed object configuration that this definition represents.
Direct Known Subclasses:
AccessControlHandlerCfgDefn, AccessLogPublisherCfgDefn, AccountStatusNotificationHandlerCfgDefn, AESPasswordStorageSchemeCfgDefn, AlertHandlerCfgDefn, AnonymousSASLMechanismHandlerCfgDefn, ApproximateMatchingRuleCfgDefn, AttributeSyntaxCfgDefn, AttributeTypeDescriptionAttributeSyntaxCfgDefn, AttributeValuePasswordValidatorCfgDefn, BackendCfgDefn, BackupBackendCfgDefn, Base64PasswordStorageSchemeCfgDefn, BlindTrustManagerProviderCfgDefn, BlowfishPasswordStorageSchemeCfgDefn, CancelExtendedOperationHandlerCfgDefn, CertificateMapperCfgDefn, CharacterSetPasswordValidatorCfgDefn, ClearPasswordStorageSchemeCfgDefn, ClientConnectionMonitorProviderCfgDefn, ConfigFileHandlerBackendCfgDefn, ConnectionHandlerCfgDefn, CramMD5SASLMechanismHandlerCfgDefn, CryptoManagerCfgDefn, CryptPasswordStorageSchemeCfgDefn, DebugLogPublisherCfgDefn, DebugTargetCfgDefn, DictionaryPasswordValidatorCfgDefn, DigestMD5SASLMechanismHandlerCfgDefn, DirectoryStringAttributeSyntaxCfgDefn, DseeCompatAccessControlHandlerCfgDefn, DynamicGroupImplementationCfgDefn, EntryCacheCfgDefn, EntryCacheMonitorProviderCfgDefn, EntryDNVirtualAttributeCfgDefn, EntryUUIDPluginCfgDefn, EntryUUIDVirtualAttributeCfgDefn, EqualityMatchingRuleCfgDefn, ErrorLogAccountStatusNotificationHandlerCfgDefn, ErrorLogPublisherCfgDefn, ExactMatchIdentityMapperCfgDefn, ExtendedOperationHandlerCfgDefn, ExternalSASLMechanismHandlerCfgDefn, FIFOEntryCacheCfgDefn, FileBasedAccessLogPublisherCfgDefn, FileBasedDebugLogPublisherCfgDefn, FileBasedErrorLogPublisherCfgDefn, FileBasedKeyManagerProviderCfgDefn, FileBasedTrustManagerProviderCfgDefn, FileCountLogRetentionPolicyCfgDefn, FileSystemEntryCacheCfgDefn, FingerprintCertificateMapperCfgDefn, FixedTimeLogRotationPolicyCfgDefn, FreeDiskSpaceLogRetentionPolicyCfgDefn, GetConnectionIdExtendedOperationHandlerCfgDefn, GetSymmetricKeyExtendedOperationHandlerCfgDefn, GlobalCfgDefn, GroupImplementationCfgDefn, GSSAPISASLMechanismHandlerCfgDefn, HasSubordinatesVirtualAttributeCfgDefn, IdentityMapperCfgDefn, IsMemberOfVirtualAttributeCfgDefn, JMXAlertHandlerCfgDefn, JMXConnectionHandlerCfgDefn, KeyManagerProviderCfgDefn, LastModPluginCfgDefn, LDAPAttributeDescriptionListPluginCfgDefn, LDAPConnectionHandlerCfgDefn, LDIFBackendCfgDefn, LDIFConnectionHandlerCfgDefn, LengthBasedPasswordValidatorCfgDefn, LocalBackendWorkflowElementCfgDefn, LocalDBBackendCfgDefn, LocalDBIndexCfgDefn, LocalDBVLVIndexCfgDefn, LogRetentionPolicyCfgDefn, LogRotationPolicyCfgDefn, MD5PasswordStorageSchemeCfgDefn, MemberVirtualAttributeCfgDefn, MemoryBackendCfgDefn, MemoryUsageMonitorProviderCfgDefn, MonitorBackendCfgDefn, MonitorProviderCfgDefn, NetworkGroupCfgDefn, NumSubordinatesVirtualAttributeCfgDefn, OrderingMatchingRuleCfgDefn, PasswordGeneratorCfgDefn, PasswordModifyExtendedOperationHandlerCfgDefn, PasswordPolicyCfgDefn, PasswordPolicyImportPluginCfgDefn, PasswordPolicyStateExtendedOperationHandlerCfgDefn, PasswordStorageSchemeCfgDefn, PasswordValidatorCfgDefn, PKCS11KeyManagerProviderCfgDefn, PlainSASLMechanismHandlerCfgDefn, PluginCfgDefn, PluginRootCfgDefn, ProfilerPluginCfgDefn, RandomPasswordGeneratorCfgDefn, RC4PasswordStorageSchemeCfgDefn, ReferentialIntegrityPluginCfgDefn, RegularExpressionIdentityMapperCfgDefn, RepeatedCharactersPasswordValidatorCfgDefn, ReplicationDomainCfgDefn, ReplicationServerCfgDefn, ReplicationSynchronizationProviderCfgDefn, RootCfgDefn, RootDNCfgDefn, RootDNUserCfgDefn, RootDSEBackendCfgDefn, SaltedMD5PasswordStorageSchemeCfgDefn, SaltedSHA1PasswordStorageSchemeCfgDefn, SaltedSHA256PasswordStorageSchemeCfgDefn, SaltedSHA384PasswordStorageSchemeCfgDefn, SaltedSHA512PasswordStorageSchemeCfgDefn, SASLMechanismHandlerCfgDefn, SchemaBackendCfgDefn, SevenBitCleanPluginCfgDefn, SHA1PasswordStorageSchemeCfgDefn, SimilarityBasedPasswordValidatorCfgDefn, SizeLimitLogRetentionPolicyCfgDefn, SizeLimitLogRotationPolicyCfgDefn, SMTPAccountStatusNotificationHandlerCfgDefn, SMTPAlertHandlerCfgDefn, SNMPConnectionHandlerCfgDefn, SoftReferenceEntryCacheCfgDefn, StackTraceMonitorProviderCfgDefn, StartTLSExtendedOperationHandlerCfgDefn, StaticGroupImplementationCfgDefn, SubjectAttributeToUserAttributeCertificateMapperCfgDefn, SubjectDNToUserAttributeCertificateMapperCfgDefn, SubjectEqualsDNCertificateMapperCfgDefn, SubschemaSubentryVirtualAttributeCfgDefn, SubstringMatchingRuleCfgDefn, SynchronizationProviderCfgDefn, SystemInfoMonitorProviderCfgDefn, TaskBackendCfgDefn, TelephoneNumberAttributeSyntaxCfgDefn, TimeLimitLogRotationPolicyCfgDefn, TraditionalWorkQueueCfgDefn, TripleDESPasswordStorageSchemeCfgDefn, TrustManagerProviderCfgDefn, TrustStoreBackendCfgDefn, UniqueAttributePluginCfgDefn, UniqueCharactersPasswordValidatorCfgDefn, UserDefinedVirtualAttributeCfgDefn, VersionMonitorProviderCfgDefn, VirtualAttributeCfgDefn, VirtualStaticGroupImplementationCfgDefn, WhoAmIExtendedOperationHandlerCfgDefn, WorkflowCfgDefn, WorkflowElementCfgDefn, WorkQueueCfgDefn

public abstract class ManagedObjectDefinition<C extends ConfigurationClient,S extends Configuration>
extends AbstractManagedObjectDefinition<C,S>

Defines the structure of a managed object which can be instantiated.


Constructor Summary
protected ManagedObjectDefinition(java.lang.String name, AbstractManagedObjectDefinition<? super C,? super S> parent)
          Create a new managed object definition.
 
Method Summary
abstract  C createClientConfiguration(ManagedObject<? extends C> managedObject)
          Creates a client configuration view of the provided managed object.
abstract  S createServerConfiguration(ServerManagedObject<? extends S> managedObject)
          Creates a server configuration view of the provided server managed object.
abstract  java.lang.Class<S> 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
 

Constructor Detail

ManagedObjectDefinition

protected ManagedObjectDefinition(java.lang.String name,
                                  AbstractManagedObjectDefinition<? super C,? super S> parent)
Create a new managed object definition.

Parameters:
name - The name of the definition.
parent - The parent definition, or null if there is no parent.
Method Detail

createClientConfiguration

public abstract C createClientConfiguration(ManagedObject<? extends C> managedObject)
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.

Parameters:
managedObject - The managed object.
Returns:
Returns a client configuration view of the provided managed object.

createServerConfiguration

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

Parameters:
managedObject - The server managed object.
Returns:
Returns a server configuration view of the provided server managed object.

getServerConfigurationClass

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

Returns:
Returns the server configuration class instance associated with this managed object definition.