org.opends.server.admin.server
Interface ConfigurationChangeListener<T extends Configuration>

Type Parameters:
T - The type of configuration that this listener should be notified about.
All Known Implementing Classes:
AccessControlConfigManager, AccessLogger, AccountStatusNotificationHandlerConfigManager, AlertHandlerConfigManager, AttributeIndex, AttributeSyntaxConfigManager, AttributeTypeSyntax, AttributeValuePasswordValidator, BackendConfigManager, BackendImpl, BackupBackend, CertificateMapperConfigManager, CharacterSetPasswordValidator, ConnectionHandlerConfigManager, CoreConfigManager, CRAMMD5SASLMechanismHandler, CryptoManagerImpl, DebugLogger, DefaultEntryCache, DictionaryPasswordValidator, DigestMD5SASLMechanismHandler, DirectoryStringSyntax, EntryCacheConfigManager, EntryContainer, EntryUUIDPlugin, ErrorLogAccountStatusNotificationHandler, ErrorLogger, ExactMatchIdentityMapper, ExtendedOperationConfigManager, ExternalSASLMechanismHandler, FIFOEntryCache, FileBasedKeyManagerProvider, FileBasedTrustManagerProvider, FileNumberRetentionPolicy, FileSystemEntryCache, FingerprintCertificateMapper, FixedTimeRotationPolicy, FreeDiskSpaceRetentionPolicy, GroupManager, GSSAPISASLMechanismHandler, IdentityMapperConfigManager, JMXAlertHandler, JmxConnectionHandler, KeyManagerProviderConfigManager, LastModPlugin, LDAPADListPlugin, LDAPConnectionHandler, LDIFBackend, LDIFConnectionHandler, LengthBasedPasswordValidator, LocalBackendWorkflowElement, LogRetentionPolicyConfigManager, LogRotationPolicyConfigManager, MatchingRuleConfigManager, MemberVirtualAttributeProvider, MonitorBackend, MonitorConfigManager, MultifileTextWriter, MultimasterReplication, NetworkGroupConfigManager, PasswordGeneratorConfigManager, PasswordModifyExtendedOperation, PasswordPolicyConfig, PasswordPolicyImportPlugin, PasswordStorageSchemeConfigManager, PasswordValidatorConfigManager, PKCS11KeyManagerProvider, PlainSASLMechanismHandler, PluginConfigManager, ProfilerPlugin, RandomPasswordGenerator, ReferentialIntegrityPlugin, RegularExpressionIdentityMapper, RepeatedCharactersPasswordValidator, ReplicationDomain, ReplicationServer, RootContainer, RootDNConfigManager, RootDSEBackend, RootPrivilegeChangeListener, SASLConfigManager, SchemaBackend, SevenBitCleanPlugin, SimilarityBasedPasswordValidator, SizeBasedRetentionPolicy, SizeBasedRotationPolicy, SMTPAccountStatusNotificationHandler, SMTPAlertHandler, SoftReferenceEntryCache, SubjectAttributeToUserAttributeCertificateMapper, SubjectDNToUserAttributeCertificateMapper, SynchronizationProviderConfigManager, TaskBackend, TelephoneNumberSyntax, TextAccessLogPublisher, TextAuditLogPublisher, TextDebugLogPublisher, TextErrorLogPublisher, TimeLimitRotationPolicy, TraceSettings, TraditionalWorkQueue, TrustManagerProviderConfigManager, TrustStoreBackend, UniqueAttributePlugin, UniqueCharactersPasswordValidator, UserDefinedVirtualAttributeProvider, VirtualAttributeConfigManager, VLVIndex, WorkflowConfigManager, WorkflowElementConfigManager, WorkQueueConfigManager

public interface ConfigurationChangeListener<T extends Configuration>

This interface defines the methods that a Directory Server configurable component should implement if it wishes to be able to receive notifications when a its associated configuration is changed.


Method Summary
 ConfigChangeResult applyConfigurationChange(T configuration)
          Applies the configuration changes to this change listener.
 boolean isConfigurationChangeAcceptable(T configuration, java.util.List<Message> unacceptableReasons)
          Indicates whether the proposed change to the configuration is acceptable to this change listener.
 

Method Detail

isConfigurationChangeAcceptable

boolean isConfigurationChangeAcceptable(T configuration,
                                        java.util.List<Message> unacceptableReasons)
Indicates whether the proposed change to the configuration is acceptable to this change listener.

Parameters:
configuration - The new configuration containing the changes.
unacceptableReasons - A list that can be used to hold messages about why the provided configuration is not acceptable.
Returns:
Returns true if the proposed change is acceptable, or false if it is not.

applyConfigurationChange

ConfigChangeResult applyConfigurationChange(T configuration)
Applies the configuration changes to this change listener.

Parameters:
configuration - The new configuration containing the changes.
Returns:
Returns information about the result of changing the configuration.