Uses of Class
org.apache.commons.configuration2.event.ConfigurationEvent
Packages that use ConfigurationEvent
Package
Description
The Configuration main package.
This package contains the implementations of configuration builder classes used to create new
Configuration objects.
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 ConfigurationEventModifier and TypeFieldDescriptionprivate final EventListener<ConfigurationEvent> BaseHierarchicalConfiguration.changeListenerA listener for reacting on changes caused by sub configurations.static final EventType<ConfigurationEvent> CombinedConfiguration.COMBINED_INVALIDATEConstant 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 ConfigurationEventModifier and TypeMethodDescriptionprivate EventListener<ConfigurationEvent> BaseHierarchicalConfiguration.createChangeListener()Creates a listener which reacts on all changes on this configuration or one of itsSubnodeConfigurationinstances.Methods in org.apache.commons.configuration2 with parameters of type ConfigurationEventModifier and TypeMethodDescriptionvoidCombinedConfiguration.onEvent(ConfigurationEvent event) Event listener call back for configuration update events.voidPropertiesConfigurationLayout.onEvent(ConfigurationEvent event) The event listener callback.protected voidBaseHierarchicalConfiguration.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 ConfigurationEventModifier and TypeMethodDescriptionprivate booleanAutoSaveListener.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.voidAutoSaveListener.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 ConfigurationEventModifier and TypeFieldDescriptionstatic final EventType<ConfigurationEvent> ConfigurationEvent.ADD_NODESConstant for the event type for an add nodes operation.static final EventType<ConfigurationEvent> ConfigurationEvent.ADD_PROPERTYConstant for the event type for an add property operation.static final EventType<ConfigurationEvent> ConfigurationEvent.ANYConstant for the common super type of all configuration update events.static final EventType<ConfigurationEvent> ConfigurationEvent.ANY_HIERARCHICALConstant for the common base event type for all hierarchical update events.static final EventType<ConfigurationEvent> ConfigurationEvent.CLEARConstant for the event type for a clear operation.static final EventType<ConfigurationEvent> ConfigurationEvent.CLEAR_PROPERTYConstant for the event type for a clear property operation.static final EventType<ConfigurationEvent> ConfigurationEvent.CLEAR_TREEConstant for the event type for a clear tree operation.static final EventType<ConfigurationEvent> ConfigurationEvent.SET_PROPERTYConstant for the event type for a set property operation.static final EventType<ConfigurationEvent> ConfigurationEvent.SUBNODE_CHANGEDConstant for the event type indicating a change on a sub configuration.Methods in org.apache.commons.configuration2.event with type parameters of type ConfigurationEventModifier and TypeMethodDescriptionprotected <T extends ConfigurationEvent>
ConfigurationEventBaseEventSource.createEvent(EventType<T> type, String propName, Object propValue, boolean before) Creates aConfigurationEventobject based on the passed in parameters.protected <T extends ConfigurationEvent>
voidCreates an event object and delivers it to all registered event listeners.Methods in org.apache.commons.configuration2.event that return ConfigurationEventModifier and TypeMethodDescriptionprotected <T extends ConfigurationEvent>
ConfigurationEventBaseEventSource.createEvent(EventType<T> type, String propName, Object propValue, boolean before) Creates aConfigurationEventobject based on the passed in parameters.Constructor parameters in org.apache.commons.configuration2.event with type arguments of type ConfigurationEventModifierConstructorDescriptionConfigurationEvent(Object source, EventType<? extends ConfigurationEvent> type, String propertyName, Object propertyValue, boolean beforeUpdate) Creates a new instance ofConfigurationEventand initializes it.