org.opends.server.admin
Interface ConfigurationClient

All Known Subinterfaces:
AccessControlHandlerCfgClient, AccessLogPublisherCfgClient, AccountStatusNotificationHandlerCfgClient, AESPasswordStorageSchemeCfgClient, AlertHandlerCfgClient, AnonymousSASLMechanismHandlerCfgClient, ApproximateMatchingRuleCfgClient, AttributeSyntaxCfgClient, AttributeTypeDescriptionAttributeSyntaxCfgClient, AttributeValuePasswordValidatorCfgClient, BackendCfgClient, BackupBackendCfgClient, Base64PasswordStorageSchemeCfgClient, BlindTrustManagerProviderCfgClient, BlowfishPasswordStorageSchemeCfgClient, CancelExtendedOperationHandlerCfgClient, CertificateMapperCfgClient, CharacterSetPasswordValidatorCfgClient, ClearPasswordStorageSchemeCfgClient, ClientConnectionMonitorProviderCfgClient, ConfigFileHandlerBackendCfgClient, ConnectionHandlerCfgClient, CramMD5SASLMechanismHandlerCfgClient, CryptoManagerCfgClient, CryptPasswordStorageSchemeCfgClient, DebugLogPublisherCfgClient, DebugTargetCfgClient, DictionaryPasswordValidatorCfgClient, DigestMD5SASLMechanismHandlerCfgClient, DirectoryStringAttributeSyntaxCfgClient, DseeCompatAccessControlHandlerCfgClient, DynamicGroupImplementationCfgClient, EntryCacheCfgClient, EntryCacheMonitorProviderCfgClient, EntryDNVirtualAttributeCfgClient, EntryUUIDPluginCfgClient, EntryUUIDVirtualAttributeCfgClient, EqualityMatchingRuleCfgClient, ErrorLogAccountStatusNotificationHandlerCfgClient, ErrorLogPublisherCfgClient, ExactMatchIdentityMapperCfgClient, ExtendedOperationHandlerCfgClient, ExternalSASLMechanismHandlerCfgClient, FIFOEntryCacheCfgClient, FileBasedAccessLogPublisherCfgClient, FileBasedDebugLogPublisherCfgClient, FileBasedErrorLogPublisherCfgClient, FileBasedKeyManagerProviderCfgClient, FileBasedTrustManagerProviderCfgClient, FileCountLogRetentionPolicyCfgClient, FileSystemEntryCacheCfgClient, FingerprintCertificateMapperCfgClient, FixedTimeLogRotationPolicyCfgClient, FreeDiskSpaceLogRetentionPolicyCfgClient, GetConnectionIdExtendedOperationHandlerCfgClient, GetSymmetricKeyExtendedOperationHandlerCfgClient, GlobalCfgClient, GroupImplementationCfgClient, GSSAPISASLMechanismHandlerCfgClient, HasSubordinatesVirtualAttributeCfgClient, IdentityMapperCfgClient, IsMemberOfVirtualAttributeCfgClient, JMXAlertHandlerCfgClient, JMXConnectionHandlerCfgClient, KeyManagerProviderCfgClient, LastModPluginCfgClient, LDAPAttributeDescriptionListPluginCfgClient, LDAPConnectionHandlerCfgClient, LDIFBackendCfgClient, LDIFConnectionHandlerCfgClient, LengthBasedPasswordValidatorCfgClient, LocalBackendWorkflowElementCfgClient, LocalDBBackendCfgClient, LocalDBIndexCfgClient, LocalDBVLVIndexCfgClient, LogPublisherCfgClient, LogRetentionPolicyCfgClient, LogRotationPolicyCfgClient, MatchingRuleCfgClient, MD5PasswordStorageSchemeCfgClient, MemberVirtualAttributeCfgClient, MemoryBackendCfgClient, MemoryUsageMonitorProviderCfgClient, MonitorBackendCfgClient, MonitorProviderCfgClient, NetworkGroupCfgClient, NumSubordinatesVirtualAttributeCfgClient, OrderingMatchingRuleCfgClient, PasswordGeneratorCfgClient, PasswordModifyExtendedOperationHandlerCfgClient, PasswordPolicyCfgClient, PasswordPolicyImportPluginCfgClient, PasswordPolicyStateExtendedOperationHandlerCfgClient, PasswordStorageSchemeCfgClient, PasswordValidatorCfgClient, PKCS11KeyManagerProviderCfgClient, PlainSASLMechanismHandlerCfgClient, PluginCfgClient, PluginRootCfgClient, ProfilerPluginCfgClient, RandomPasswordGeneratorCfgClient, RC4PasswordStorageSchemeCfgClient, ReferentialIntegrityPluginCfgClient, RegularExpressionIdentityMapperCfgClient, RepeatedCharactersPasswordValidatorCfgClient, ReplicationDomainCfgClient, ReplicationServerCfgClient, ReplicationSynchronizationProviderCfgClient, RootCfgClient, RootDNCfgClient, RootDNUserCfgClient, RootDSEBackendCfgClient, SaltedMD5PasswordStorageSchemeCfgClient, SaltedSHA1PasswordStorageSchemeCfgClient, SaltedSHA256PasswordStorageSchemeCfgClient, SaltedSHA384PasswordStorageSchemeCfgClient, SaltedSHA512PasswordStorageSchemeCfgClient, SASLMechanismHandlerCfgClient, SchemaBackendCfgClient, SevenBitCleanPluginCfgClient, SHA1PasswordStorageSchemeCfgClient, SimilarityBasedPasswordValidatorCfgClient, SizeLimitLogRetentionPolicyCfgClient, SizeLimitLogRotationPolicyCfgClient, SMTPAccountStatusNotificationHandlerCfgClient, SMTPAlertHandlerCfgClient, SNMPConnectionHandlerCfgClient, SoftReferenceEntryCacheCfgClient, StackTraceMonitorProviderCfgClient, StartTLSExtendedOperationHandlerCfgClient, StaticGroupImplementationCfgClient, SubjectAttributeToUserAttributeCertificateMapperCfgClient, SubjectDNToUserAttributeCertificateMapperCfgClient, SubjectEqualsDNCertificateMapperCfgClient, SubschemaSubentryVirtualAttributeCfgClient, SubstringMatchingRuleCfgClient, SynchronizationProviderCfgClient, SystemInfoMonitorProviderCfgClient, TaskBackendCfgClient, TelephoneNumberAttributeSyntaxCfgClient, TimeLimitLogRotationPolicyCfgClient, TraditionalWorkQueueCfgClient, TripleDESPasswordStorageSchemeCfgClient, TrustManagerProviderCfgClient, TrustStoreBackendCfgClient, UniqueAttributePluginCfgClient, UniqueCharactersPasswordValidatorCfgClient, UserDefinedVirtualAttributeCfgClient, VersionMonitorProviderCfgClient, VirtualAttributeCfgClient, VirtualStaticGroupImplementationCfgClient, WhoAmIExtendedOperationHandlerCfgClient, WorkflowCfgClient, WorkflowElementCfgClient, WorkQueueCfgClient

public interface ConfigurationClient

A common base interface for all managed object configuration clients.


Method Summary
 void commit()
          If this is a new configuration this method will attempt to add it to the server, otherwise it will commit any changes made to this configuration.
 ManagedObjectDefinition<? extends ConfigurationClient,? extends Configuration> definition()
          Get the configuration definition associated with this configuration.
 PropertyProvider properties()
          Get a property provider view of this configuration.
 

Method Detail

definition

ManagedObjectDefinition<? extends ConfigurationClient,? extends Configuration> definition()
Get the configuration definition associated with this configuration.

Returns:
Returns the configuration definition associated with this configuration.

properties

PropertyProvider properties()
Get a property provider view of this configuration.

Returns:
Returns a property provider view of this configuration.

commit

void commit()
            throws ManagedObjectAlreadyExistsException,
                   MissingMandatoryPropertiesException,
                   ConcurrentModificationException,
                   OperationRejectedException,
                   AuthorizationException,
                   CommunicationException
If this is a new configuration this method will attempt to add it to the server, otherwise it will commit any changes made to this configuration.

Throws:
ManagedObjectAlreadyExistsException - If this is a new configuration but it could not be added to the server because it already exists.
MissingMandatoryPropertiesException - If this configuration contains some mandatory properties which have been left undefined.
ConcurrentModificationException - If this is a new configuration which is being added to the server but its parent has been removed by another client, or if this configuration is being modified but it has been removed from the server by another client.
OperationRejectedException - If the server refuses to add or modify this configuration due to some server-side constraint which cannot be satisfied.
AuthorizationException - If the server refuses to add or modify this configuration because the client does not have the correct privileges.
CommunicationException - If the client cannot contact the server due to an underlying communication problem.