public interface ConfigurationListener
The configuration listener receives server configuration change notifications that can be used to provide dynamic updating of various server components.
The configuration listener may throw an InvalidConfigurationException if the updated value is invalid or there is a problem during the dynamic component update. The listener also returns a status to indicate if it ignored the update, a server restart is required or the change was accepted.
Modifier and Type | Field and Description |
---|---|
static int |
StsAccepted |
static int |
StsIgnored |
static int |
StsNewSessionsOnly |
static int |
StsRestartRequired |
Modifier and Type | Method and Description |
---|---|
int |
configurationChanged(int id,
ServerConfiguration config,
Object newVal)
Configuration variable changed
|
static final int StsIgnored
static final int StsAccepted
static final int StsNewSessionsOnly
static final int StsRestartRequired
int configurationChanged(int id, ServerConfiguration config, Object newVal) throws InvalidConfigurationException
id
- intconfig
- ServerConfigurationnewVal
- ObjectInvalidConfigurationException
Copyright © 2005–2018 Alfresco Software. All rights reserved.