Uses of Class
org.apache.commons.configuration2.event.ConfigurationEvent
-
Packages that use ConfigurationEvent Package Description org.apache.commons.configuration2 The Configuration main package.org.apache.commons.configuration2.builder This package contains the implementations of configuration builder classes used to create newConfiguration
objects.org.apache.commons.configuration2.event This package contains interfaces and classes for receiving notifications about changes at configurations. -
-
Uses of ConfigurationEvent in org.apache.commons.configuration2
Fields in org.apache.commons.configuration2 with type parameters of type ConfigurationEvent Modifier and Type Field Description private EventListener<ConfigurationEvent>
BaseHierarchicalConfiguration. changeListener
A listener for reacting on changes caused by sub configurations.static EventType<ConfigurationEvent>
CombinedConfiguration. COMBINED_INVALIDATE
Constant for the event type fired when the internal node structure of a combined configuration becomes invalid.Methods in org.apache.commons.configuration2 that return types with arguments of type ConfigurationEvent Modifier and Type Method Description private EventListener<ConfigurationEvent>
BaseHierarchicalConfiguration. createChangeListener()
Creates a listener which reacts on all changes on this configuration or one of itsSubnodeConfiguration
instances.Methods in org.apache.commons.configuration2 with parameters of type ConfigurationEvent 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. -
Uses of ConfigurationEvent in org.apache.commons.configuration2.builder
Methods in org.apache.commons.configuration2.builder with parameters of type ConfigurationEvent Modifier and Type Method Description private boolean
AutoSaveListener. autoSaveRequired(ConfigurationEvent event)
Checks whether an auto save operation has to be performed based on the passed in event and the current state of this object.void
AutoSaveListener. onEvent(ConfigurationEvent event)
Notifies this event listener about the arrival of a new event. -
Uses of ConfigurationEvent in org.apache.commons.configuration2.event
Fields in org.apache.commons.configuration2.event with type parameters of type ConfigurationEvent 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.Methods in org.apache.commons.configuration2.event with type parameters of type ConfigurationEvent Modifier and Type Method Description protected <T extends ConfigurationEvent>
ConfigurationEventBaseEventSource. createEvent(EventType<T> type, java.lang.String propName, java.lang.Object propValue, boolean before)
Creates aConfigurationEvent
object based on the passed in parameters.protected <T extends ConfigurationEvent>
voidBaseEventSource. 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.Methods in org.apache.commons.configuration2.event that return ConfigurationEvent Modifier and Type Method Description protected <T extends ConfigurationEvent>
ConfigurationEventBaseEventSource. createEvent(EventType<T> type, java.lang.String propName, java.lang.Object propValue, boolean before)
Creates aConfigurationEvent
object based on the passed in parameters.Constructor parameters in org.apache.commons.configuration2.event with type arguments of type ConfigurationEvent 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 ofConfigurationEvent
and initializes it.
-