Uses of Interface
org.apache.commons.configuration2.event.EventListener
-
Packages that use EventListener 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.builder.combined A package containing the implementation of the builder for combined configurations.org.apache.commons.configuration2.event This package contains interfaces and classes for receiving notifications about changes at configurations.org.apache.commons.configuration2.reloading 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 EventListener Modifier and Type Class Description class
CombinedConfiguration
A hierarchical composite configuration class.class
DynamicCombinedConfiguration
DynamicCombinedConfiguration allows a set of CombinedConfigurations to be used.class
PropertiesConfigurationLayout
A helper class used byPropertiesConfiguration
to keep the layout of a properties file.Fields in org.apache.commons.configuration2 declared as EventListener Modifier and Type Field Description private EventListener<ConfigurationEvent>
BaseHierarchicalConfiguration. changeListener
A listener for reacting on changes caused by sub configurations.Methods in org.apache.commons.configuration2 that return EventListener 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 that return types with arguments of type EventListener Modifier and Type Method Description <T extends Event>
java.util.Collection<EventListener<? super T>>PatternSubtreeConfigurationWrapper. getEventListeners(EventType<T> eventType)
Methods in org.apache.commons.configuration2 with parameters of type EventListener Modifier and Type Method Description <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 EventListener Modifier and Type Class Description (package private) class
AutoSaveListener
A listener class implementing an auto save mechanism for file-based configurations.(package private) class
ReloadingBuilderSupportListener
An internally used helper class for adding reloading support to an arbitraryConfigurationBuilder
.Methods in org.apache.commons.configuration2.builder with parameters of type EventListener Modifier and Type Method Description <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 <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 EventListener Modifier and Type Field Description private EventListener<ConfigurationBuilderEvent>
CombinedConfigurationBuilder.ConfigurationSourceData. changeListener
A listener for reacting on changes of sub builders.private 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 EventListener Modifier and Type Method Description private EventListener<ConfigurationBuilderEvent>
CombinedConfigurationBuilder.ConfigurationSourceData. createBuilderChangeListener()
Creates a listener for builder change events.Methods in org.apache.commons.configuration2.builder.combined with parameters of type EventListener Modifier and Type Method Description <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 EventListener Modifier and Type Field Description private 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 EventListener Modifier and Type Method Description private 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 EventListener Modifier and Type Method Description <T extends Event>
java.util.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>
java.lang.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 EventListener Modifier and Type Method Description <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 EventListener Constructor Description EventListenerRegistrationData(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 EventListener Modifier and Type Method Description <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)
-