public class ConfigSection extends Object
Modifier | Constructor and Description |
---|---|
protected |
ConfigSection(String name,
ServerConfiguration config)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
closeConfig()
Close the configuration section, perform any cleanup
|
protected int |
fireConfigurationChange(int id,
Object newVal)
Notify all registered configuration change listeners of a configuration change
|
String |
getSectionName()
Return the configuration section name, used to identify the configuration
|
protected ServerConfiguration |
getServerConfiguration()
Return the server configuration that this section is associated with
|
boolean |
isUpdated()
Check if this configuration section has been updated
|
protected void |
setUpdated(boolean upd)
Set/clear the configuration section updated flag
|
protected ConfigSection(String name, ServerConfiguration config)
name
- Stringconfig
- ServerConfigurationpublic String getSectionName()
public final boolean isUpdated()
protected final ServerConfiguration getServerConfiguration()
protected final int fireConfigurationChange(int id, Object newVal) throws InvalidConfigurationException
id
- intnewVal
- ObjectInvalidConfigurationException
protected final void setUpdated(boolean upd)
upd
- booleanpublic void closeConfig()
Copyright © 2005–2018 Alfresco Software. All rights reserved.