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

Type Parameters:
T - The type of configuration that this listener should be notified about.
All Known Implementing Classes:
AccessLogger, AccountStatusNotificationHandlerConfigManager, AlertHandlerConfigManager, AttributeSyntaxConfigManager, BackendConfigManager, CertificateMapperConfigManager, ConnectionHandlerConfigManager, DebugLogger, EntryCacheConfigManager, EntryContainer.AttributeJEIndexCfgManager, EntryContainer.VLVJEIndexCfgManager, ErrorLogger, ExtendedOperationConfigManager, GroupManager, IdentityMapperConfigManager, KeyManagerProviderConfigManager, LoggerConfigManager, LogRetentionPolicyConfigManager, LogRotationPolicyConfigManager, MatchingRuleConfigManager, MonitorConfigManager, MultimasterReplication, NetworkGroupConfigManager, PasswordGeneratorConfigManager, PasswordPolicyConfigManager, PasswordStorageSchemeConfigManager, PasswordValidatorConfigManager, PluginConfigManager, ReplicationServerListener, RootDNConfigManager, SASLConfigManager, SynchronizationProviderConfigManager, TextDebugLogPublisher, TrustManagerProviderConfigManager, VirtualAttributeConfigManager, WorkflowConfigManager, WorkflowElementConfigManager

public interface ConfigurationDeleteListener<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 an existing configuration is deleted.


Method Summary
 ConfigChangeResult applyConfigurationDelete(T configuration)
          Deletes an existing configuration from this delete listener.
 boolean isConfigurationDeleteAcceptable(T configuration, java.util.List<Message> unacceptableReasons)
          Indicates whether the proposed deletion of an existing configuration is acceptable to this delete listener.
 

Method Detail

isConfigurationDeleteAcceptable

boolean isConfigurationDeleteAcceptable(T configuration,
                                        java.util.List<Message> unacceptableReasons)
Indicates whether the proposed deletion of an existing configuration is acceptable to this delete listener.

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

applyConfigurationDelete

ConfigChangeResult applyConfigurationDelete(T configuration)
Deletes an existing configuration from this delete listener.

Parameters:
configuration - The existing configuration that will be deleted.
Returns:
Returns information about the result of deleting the configuration.