Interface ConfigurationChangeListener<T extends Configuration>
-
- Type Parameters:
T
- The type of configuration that this listener should be notified about.
- All Known Implementing Classes:
AbstractLogger
,AccessControlConfigManager
,AccessLogger
,AccountStatusNotificationHandlerConfigManager
,AdminDataTrustManagerProvider
,AdministrationConnector
,AlertHandlerConfigManager
,AttributeCleanupPlugin
,AttributeValuePasswordValidator
,BackendConfigManager
,BackendImpl
,BcryptPasswordStorageScheme
,CertificateMapper
,CertificateMapperConfigManager
,ChangeNumberControlPlugin
,CharacterSetPasswordValidator
,ConnectionHandlerConfigManager
,ConsoleErrorLogPublisher
,CoreConfigManager
,CoreSchemaProvider
,CRAMMD5SASLMechanismHandler
,CryptoManager
,CryptPasswordStorageScheme
,DebugLogger
,DefaultEntryCache
,DictionaryPasswordValidator
,DigestMD5SASLMechanismHandler
,EntityTagVirtualAttributeProvider
,EntryCacheConfigManager
,EntryContainer
,EntryUUIDPlugin
,ErrorLogAccountStatusNotificationHandler
,ErrorLogger
,ExactMatchIdentityMapper
,ExtendedOperationConfigManager
,ExternalSASLMechanismHandler
,FIFOEntryCache
,FileBasedKeyManagerProvider
,FileBasedTrustManagerProvider
,FileNumberRetentionPolicy
,FingerprintCertificateMapper
,FixedTimeRotationPolicy
,FractionalLDIFImportPlugin
,FreeDiskSpaceRetentionPolicy
,GraphiteMonitorReporterPlugin
,GSSAPISASLMechanismHandler
,HTTPAccessLogger
,HTTPConnectionHandler
,HttpEndpointConfigManager
,IdentityMapperConfigManager
,JEBackend
,JEStorage
,JMXAlertHandler
,JmxConnectionHandler
,JsonEqualityMatchingRuleProvider
,JsonOrderingMatchingRuleProvider
,JsonQueryEqualityMatchingRuleProvider
,KeyManagerProviderConfigManager
,LastModPlugin
,LDAPADListPlugin
,LDAPConnectionHandler
,LDAPKeyManagerProvider
,LDAPReplicationDomain
,LDAPTrustManagerProvider
,LDIFBackend
,LDIFConnectionHandler
,LengthBasedPasswordValidator
,LogRetentionPolicyConfigManager
,LogRotationPolicyConfigManager
,MemberVirtualAttributeProvider
,MonitorBackend
,MultimasterReplication
,PasswordGeneratorConfigManager
,PasswordModifyExtendedOperation
,PasswordPolicyImportPlugin
,PasswordStorageSchemeConfigManager
,PasswordValidatorConfigManager
,PBKDF2HmacSHA256PasswordStorageScheme
,PBKDF2HmacSHA512PasswordStorageScheme
,PBKDF2PasswordStorageScheme
,PemKeyManagerProvider
,PemTrustManagerProvider
,PKCS11KeyManagerProvider
,Pkcs11TrustManagerProvider
,PlainSASLMechanismHandler
,PluginConfigManager
,ProxyBackend
,RandomPasswordGenerator
,ReferentialIntegrityPlugin
,RegularExpressionIdentityMapper
,RepeatedCharactersPasswordValidator
,ReplicationServer
,ReplicationServiceDiscoveryMechanism
,RootContainer
,RootDSEBackend
,SambaPasswordPlugin
,SASLConfigManager
,SchemaBackend
,ScramSha256PasswordStorageScheme
,ScramSha256SASLMechanismHandler
,ScramSha512PasswordStorageScheme
,ScramSha512SASLMechanismHandler
,SevenBitCleanPlugin
,SimilarityBasedPasswordValidator
,SizeBasedRetentionPolicy
,SizeBasedRotationPolicy
,SMTPAccountStatusNotificationHandler
,SMTPAlertHandler
,SNMPConnectionHandler
,SoftReferenceEntryCache
,StaticServiceDiscoveryMechanism
,SubjectAttributeToUserAttributeCertificateMapper
,SubjectDNToUserAttributeCertificateMapper
,SubjectEqualsDNCertificateMapper
,SynchronizationProviderConfigManager
,TaskBackend
,TextAccessLogPublisher
,TextAuditLogPublisher
,TextDebugLogPublisher
,TextErrorLogPublisher
,TextHTTPAccessLogPublisher
,TimeLimitRotationPolicy
,TraceSettings
,TraditionalWorkQueue
,TrustManagerProviderConfigManager
,UniqueAttributePlugin
,UniqueCharactersPasswordValidator
,UserDefinedVirtualAttributeProvider
,VirtualAttributeConfigManager
,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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigChangeResult
applyConfigurationChange(T configuration)
Applies the configuration changes to this change listener.boolean
isConfigurationChangeAcceptable(T configuration, List<LocalizableMessage> unacceptableReasons)
Indicates whether the proposed change to the configuration is acceptable to this change listener.
-
-
-
Method Detail
-
isConfigurationChangeAcceptable
boolean isConfigurationChangeAcceptable(T configuration, List<LocalizableMessage> 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, orfalse
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.
-
-