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 |
---|---|
org.forgerock.opendj.config.server.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 org.forgerock.opendj.config.server.ConfigException, InitializationException
org.forgerock.opendj.config.server.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)
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 org.forgerock.opendj.config.server.ConfigChangeResult applyConfigurationChange(WorkQueueCfg configuration)
applyConfigurationChange
in interface ConfigurationChangeListener<WorkQueueCfg>
configuration
- The new configuration containing the changes.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.