public class WorkQueueConfigManager extends Object implements ConfigurationChangeListener<WorkQueueCfg>
Constructor and Description |
---|
WorkQueueConfigManager(ServerContext serverContext)
Creates a new instance of this work queue config manager.
|
Modifier and Type | Method and Description |
---|---|
ConfigChangeResult |
applyConfigurationChange(WorkQueueCfg configuration)
Applies the configuration changes to this change listener.
|
WorkQueue |
initializeWorkQueue()
Initializes the Directory Server's work queue.
|
boolean |
isConfigurationChangeAcceptable(WorkQueueCfg configuration,
List<LocalizableMessage> unacceptableReasons)
Indicates whether the proposed change to the configuration is acceptable
to this change listener.
|
public WorkQueueConfigManager(ServerContext serverContext)
serverContext
- The server context.public WorkQueue initializeWorkQueue() throws ConfigException, InitializationException
ConfigException
- If a configuration problem causes the work queue initialization process to fail.InitializationException
- If a problem occurs while initializing the work queue that is not related to the server
configuration.public boolean isConfigurationChangeAcceptable(WorkQueueCfg configuration, List<LocalizableMessage> unacceptableReasons)
ConfigurationChangeListener
isConfigurationChangeAcceptable
in interface ConfigurationChangeListener<WorkQueueCfg>
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.true
if the proposed change is acceptable,
or false
if it is not.public ConfigChangeResult applyConfigurationChange(WorkQueueCfg configuration)
ConfigurationChangeListener
applyConfigurationChange
in interface ConfigurationChangeListener<WorkQueueCfg>
configuration
- The new configuration containing the changes.Copyright 2010-2022 ForgeRock AS.