Package | Description |
---|---|
org.apache.commons.configuration2 |
The Configuration main package.
|
org.apache.commons.configuration2.event |
This package contains interfaces and classes for receiving notifications
about changes at configurations.
|
Modifier and Type | Field and Description |
---|---|
static EventType<ConfigurationEvent> |
CombinedConfiguration.COMBINED_INVALIDATE
Constant for the event type fired when the internal node structure of a
combined configuration becomes invalid.
|
Modifier and Type | Method and Description |
---|---|
void |
PropertiesConfigurationLayout.onEvent(ConfigurationEvent event)
The event listener callback.
|
void |
CombinedConfiguration.onEvent(ConfigurationEvent event)
Event listener call back for configuration update events.
|
protected void |
BaseHierarchicalConfiguration.subnodeConfigurationChanged(ConfigurationEvent event)
This method is always called when a subnode configuration created from
this configuration has been modified.
|
Modifier and Type | Field and Description |
---|---|
static EventType<ConfigurationEvent> |
ConfigurationEvent.ADD_NODES
Constant for the event type for an add nodes operation.
|
static EventType<ConfigurationEvent> |
ConfigurationEvent.ADD_PROPERTY
Constant for the event type for an add property operation.
|
static EventType<ConfigurationEvent> |
ConfigurationEvent.ANY
Constant for the common super type of all configuration update events.
|
static EventType<ConfigurationEvent> |
ConfigurationEvent.ANY_HIERARCHICAL
Constant for the common base event type for all hierarchical update
events.
|
static EventType<ConfigurationEvent> |
ConfigurationEvent.CLEAR
Constant for the event type for a clear operation.
|
static EventType<ConfigurationEvent> |
ConfigurationEvent.CLEAR_PROPERTY
Constant for the event type for a clear property operation.
|
static EventType<ConfigurationEvent> |
ConfigurationEvent.CLEAR_TREE
Constant for the event type for a clear tree operation.
|
static EventType<ConfigurationEvent> |
ConfigurationEvent.SET_PROPERTY
Constant for the event type for a set property operation.
|
static EventType<ConfigurationEvent> |
ConfigurationEvent.SUBNODE_CHANGED
Constant for the event type indicating a change on a sub configuration.
|
Modifier and Type | Method and Description |
---|---|
protected <T extends ConfigurationEvent> |
BaseEventSource.createEvent(EventType<T> type,
String propName,
Object propValue,
boolean before)
Creates a
ConfigurationEvent object based on the passed in
parameters. |
protected <T extends ConfigurationEvent> |
BaseEventSource.fireEvent(EventType<T> type,
String propName,
Object propValue,
boolean before)
Creates an event object and delivers it to all registered event
listeners.
|
Modifier and Type | Method and Description |
---|---|
protected <T extends ConfigurationEvent> |
BaseEventSource.createEvent(EventType<T> type,
String propName,
Object propValue,
boolean before)
Creates a
ConfigurationEvent object based on the passed in
parameters. |
Constructor and Description |
---|
ConfigurationEvent(Object source,
EventType<? extends ConfigurationEvent> type,
String propertyName,
Object propertyValue,
boolean beforeUpdate)
Creates a new instance of
ConfigurationEvent and
initializes it. |
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.