Uses of Class
org.apache.commons.configuration2.event.Event
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 Event in org.apache.commons.configuration2
Modifier 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>
Collection<EventListener<? super T>>PatternSubtreeConfigurationWrapper.getEventListeners
(EventType<T> eventType) <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 Event in org.apache.commons.configuration2.builder
Modifier and TypeClassDescriptionclass
A base event class for events generated by aConfigurationBuilder
.class
A specialized event class which is generated by aConfigurationBuilder
when a result configuration has been created.Modifier 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
(EventListenerRegistrationData<T> registrationData) Adds the specifiedEventListenerRegistrationData
instance to this object.<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 Event in org.apache.commons.configuration2.builder.combined
Modifier and TypeMethodDescription<E extends Event>
voidMultiFileConfigurationBuilder.addEventListener
(EventType<E> eventType, EventListener<? super E> l) Adds an event listener for the specified event type.<E extends Event>
booleanMultiFileConfigurationBuilder.removeEventListener
(EventType<E> eventType, EventListener<? super E> l) Removes the event listener registration for the given event type and listener. -
Uses of Event in org.apache.commons.configuration2.event
Modifier and TypeInterfaceDescriptioninterface
EventListener<T extends Event>
Definition of a generic event listener interface.static final class
EventListenerList.EventListenerIterator<T extends Event>
A specialIterator
implementation used by thegetEventListenerIterator()
method.final class
EventListenerRegistrationData<T extends Event>
A data class holding information about an event listener registration.class
A class representing an event type.Modifier and TypeClassDescriptionclass
An event class that is used for reporting errors that occurred while processing configuration properties.class
An event class for reporting updates on a configuration object.Modifier and TypeFieldDescriptionEvent.ANY
The root event type for all configuration-related events.Modifier and TypeMethodDescription<T extends Event>
voidBaseEventSource.addEventListener
(EventType<T> eventType, EventListener<? super T> listener) <T extends Event>
voidEventListenerList.addEventListener
(EventListenerRegistrationData<T> regData) Adds the specified listener registration data object to the internal list of event listeners.<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.<T extends Event>
EventListenerList.EventListenerIterator<T>EventListenerList.getEventListenerIterator
(EventType<T> eventType) Gets a specialized iterator for obtaining all event listeners stored in this list which are compatible with the specified event type.<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.<T extends Event>
List<EventListenerRegistrationData<? extends T>>EventListenerList.getRegistrationsForSuperType
(EventType<T> eventType) Gets a list withEventListenerRegistrationData
objects for all event listener registrations of the specified event type or an event type having this type as super type (directly or indirectly).<T extends Event>
booleanBaseEventSource.removeEventListener
(EventType<T> eventType, EventListener<? super T> listener) <T extends Event>
booleanEventListenerList.removeEventListener
(EventListenerRegistrationData<T> regData) Removes the event listener registration defined by the passed in data object.<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.Modifier and TypeMethodDescriptionvoid
Fires an event to all registered listeners matching the event type.void
EventListenerList.EventListenerIterator.invokeNext
(Event event) Obtains the next event listener in this iteration and invokes it with the given event object. -
Uses of Event in org.apache.commons.configuration2.reloading
Modifier and TypeClassDescriptionclass
An event that is fired when a reload operation is required.Modifier 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)