Uses of Interface
org.apache.commons.configuration2.event.EventListener
Packages that use EventListener
Package
Description
The Configuration main package.
This package contains the implementations of configuration builder classes used to create new
Configuration
objects.
A package containing the implementation of the builder for combined configurations.
This package contains interfaces and classes for receiving notifications about changes at configurations.
This package contains classes and interfaces related to the reloading mechanism.
-
Uses of EventListener in org.apache.commons.configuration2
Classes in org.apache.commons.configuration2 that implement EventListenerModifier and TypeClassDescriptionclass
A hierarchical composite configuration class.class
DynamicCombinedConfiguration allows a set of CombinedConfigurations to be used.class
A helper class used byPropertiesConfiguration
to keep the layout of a properties file.Fields in org.apache.commons.configuration2 declared as EventListenerModifier and TypeFieldDescriptionprivate final EventListener
<ConfigurationEvent> BaseHierarchicalConfiguration.changeListener
A listener for reacting on changes caused by sub configurations.Methods in org.apache.commons.configuration2 that return EventListenerModifier and TypeMethodDescriptionprivate 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 that return types with arguments of type EventListenerModifier and TypeMethodDescription<T extends Event>
Collection<EventListener<? super T>> PatternSubtreeConfigurationWrapper.getEventListeners
(EventType<T> eventType) Methods in org.apache.commons.configuration2 with parameters of type EventListenerModifier and TypeMethodDescription<T extends Event>
voidDynamicCombinedConfiguration.addEventListener
(EventType<T> eventType, EventListener<? super T> listener) <T extends Event>
voidPatternSubtreeConfigurationWrapper.addEventListener
(EventType<T> eventType, EventListener<? super T> listener) <T extends Event>
booleanDynamicCombinedConfiguration.removeEventListener
(EventType<T> eventType, EventListener<? super T> listener) <T extends Event>
booleanPatternSubtreeConfigurationWrapper.removeEventListener
(EventType<T> eventType, EventListener<? super T> listener) -
Uses of EventListener in org.apache.commons.configuration2.builder
Classes in org.apache.commons.configuration2.builder that implement EventListenerModifier and TypeClassDescription(package private) final class
A listener class implementing an auto save mechanism for file-based configurations.(package private) final class
An internally used helper class for adding reloading support to an arbitraryConfigurationBuilder
.Methods in org.apache.commons.configuration2.builder with parameters of type EventListenerModifier and TypeMethodDescription<E extends Event>
voidBasicConfigurationBuilder.addEventListener
(EventType<E> eventType, EventListener<? super E> listener) Adds an event listener for the specified event type.<T extends Event>
EventListenerParametersEventListenerParameters.addEventListener
(EventType<T> eventType, EventListener<? super T> listener) Adds an event listener of the specified event type to this object.protected final <E extends Event>
voidBasicConfigurationBuilder.installEventListener
(EventType<E> eventType, EventListener<? super E> listener) Adds the specified event listener to this object.<E extends Event>
booleanBasicConfigurationBuilder.removeEventListener
(EventType<E> eventType, EventListener<? super E> listener) Removes the event listener registration for the given event type and listener. -
Uses of EventListener in org.apache.commons.configuration2.builder.combined
Fields in org.apache.commons.configuration2.builder.combined declared as EventListenerModifier and TypeFieldDescriptionprivate final EventListener
<ConfigurationBuilderEvent> CombinedConfigurationBuilder.ConfigurationSourceData.changeListener
A listener for reacting on changes of sub builders.private final EventListener
<ConfigurationBuilderEvent> MultiFileConfigurationBuilder.managedBuilderDelegationListener
A specialized event listener which gets registered at all managed builders.Methods in org.apache.commons.configuration2.builder.combined that return EventListenerModifier and TypeMethodDescriptionprivate EventListener
<ConfigurationBuilderEvent> CombinedConfigurationBuilder.ConfigurationSourceData.createBuilderChangeListener()
Creates a listener for builder change events.Methods in org.apache.commons.configuration2.builder.combined with parameters of type EventListenerModifier and TypeMethodDescription<E extends Event>
voidMultiFileConfigurationBuilder.addEventListener
(EventType<E> eventType, EventListener<? super E> l) Adds an event listener for the specified event type.<T extends Event>
voidMultiFileConfigurationBuilderProvider.WrapperBuilder.addEventListener
(EventType<T> eventType, EventListener<? super T> listener) <E extends Event>
booleanMultiFileConfigurationBuilder.removeEventListener
(EventType<E> eventType, EventListener<? super E> l) Removes the event listener registration for the given event type and listener.<T extends Event>
booleanMultiFileConfigurationBuilderProvider.WrapperBuilder.removeEventListener
(EventType<T> eventType, EventListener<? super T> listener) -
Uses of EventListener in org.apache.commons.configuration2.event
Fields in org.apache.commons.configuration2.event declared as EventListenerModifier and TypeFieldDescriptionprivate final EventListener
<? super T> EventListenerRegistrationData.listener
The event listener.private EventListener
<? super T> EventListenerList.EventListenerIterator.nextElement
The next element in the iteration.Methods in org.apache.commons.configuration2.event that return EventListenerModifier and TypeMethodDescriptionprivate EventListener
<? super T> EventListenerList.EventListenerIterator.castListener
(EventListenerRegistrationData<?> regData) Extracts the listener from the given data object and performs a cast to the target type.EventListener
<? super T> EventListenerRegistrationData.getListener()
Gets the listener this registration is about.EventListener
<? super T> EventListenerList.EventListenerIterator.next()
Methods in org.apache.commons.configuration2.event that return types with arguments of type EventListenerModifier and TypeMethodDescription<T extends Event>
Collection<EventListener<? super T>> BaseEventSource.getEventListeners
(EventType<T> eventType) Gets a collection with all event listeners of the specified event type that are currently registered at this object.<T extends Event>
Iterable<EventListener<? super T>> EventListenerList.getEventListeners
(EventType<T> eventType) Gets anIterable
allowing access to all event listeners stored in this list which are compatible with the specified event type.Methods in org.apache.commons.configuration2.event with parameters of type EventListenerModifier and TypeMethodDescription<T extends Event>
voidBaseEventSource.addEventListener
(EventType<T> eventType, EventListener<? super T> listener) <T extends Event>
voidEventListenerList.addEventListener
(EventType<T> type, EventListener<? super T> listener) Adds an event listener for the specified event type.<T extends Event>
voidEventSource.addEventListener
(EventType<T> eventType, EventListener<? super T> listener) Adds an event listener for the specified event type.private static void
EventListenerList.callListener
(EventListener<?> listener, Event event) Helper method for calling an event listener with an event.<T extends Event>
booleanBaseEventSource.removeEventListener
(EventType<T> eventType, EventListener<? super T> listener) <T extends Event>
booleanEventListenerList.removeEventListener
(EventType<T> eventType, EventListener<? super T> listener) Removes the event listener registration for the given event type and listener.<T extends Event>
booleanEventSource.removeEventListener
(EventType<T> eventType, EventListener<? super T> listener) Removes the event listener registration for the given event type and listener.Constructors in org.apache.commons.configuration2.event with parameters of type EventListenerModifierConstructorDescriptionEventListenerRegistrationData
(EventType<T> type, EventListener<? super T> lstnr) Creates a new instance ofEventListenerRegistrationData
. -
Uses of EventListener in org.apache.commons.configuration2.reloading
Methods in org.apache.commons.configuration2.reloading with parameters of type EventListenerModifier and TypeMethodDescription<T extends Event>
voidReloadingController.addEventListener
(EventType<T> eventType, EventListener<? super T> listener) Adds an event listener for the specified event type.<T extends Event>
booleanReloadingController.removeEventListener
(EventType<T> eventType, EventListener<? super T> listener)