| 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 | 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 | Description |
|---|---|---|
void |
CombinedConfiguration.onEvent(ConfigurationEvent event) |
Event listener call back for configuration update events.
|
void |
PropertiesConfigurationLayout.onEvent(ConfigurationEvent event) |
The event listener callback.
|
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 | 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 | Description |
|---|---|---|
protected <T extends ConfigurationEvent> |
BaseEventSource.createEvent(EventType<T> type,
java.lang.String propName,
java.lang.Object propValue,
boolean before) |
Creates a
ConfigurationEvent object based on the passed in
parameters. |
protected <T extends ConfigurationEvent> |
BaseEventSource.fireEvent(EventType<T> type,
java.lang.String propName,
java.lang.Object propValue,
boolean before) |
Creates an event object and delivers it to all registered event
listeners.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected <T extends ConfigurationEvent> |
BaseEventSource.createEvent(EventType<T> type,
java.lang.String propName,
java.lang.Object propValue,
boolean before) |
Creates a
ConfigurationEvent object based on the passed in
parameters. |
| Constructor | Description |
|---|---|
ConfigurationEvent(java.lang.Object source,
EventType<? extends ConfigurationEvent> type,
java.lang.String propertyName,
java.lang.Object propertyValue,
boolean beforeUpdate) |
Creates a new instance of
ConfigurationEvent and
initializes it. |
Copyright © 2001–2018. All rights reserved.