Uses of Class
org.apache.commons.configuration2.event.Event
-
Packages that use Event 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 Event in org.apache.commons.configuration2
Methods in org.apache.commons.configuration2 with type parameters of type Event 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>
java.util.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
Subclasses of Event in org.apache.commons.configuration2.builder Modifier and Type Class Description class
ConfigurationBuilderEvent
A base event class for events generated by aConfigurationBuilder
.class
ConfigurationBuilderResultCreatedEvent
A specialized event class which is generated by aConfigurationBuilder
when a result configuration has been created.Methods in org.apache.commons.configuration2.builder with type parameters of type Event 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(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 <E extends Event>
voidBasicConfigurationBuilder. installEventListener(EventType<E> eventType, EventListener<? super E> listener)
Adds the specified event listener to this object.private static <E extends Event>
voidBasicConfigurationBuilder. registerListener(EventSource evSrc, EventListenerRegistrationData<E> regData)
Registers an event listener at an event source 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.private static <E extends Event>
voidBasicConfigurationBuilder. removeListener(EventSource evSrc, EventListenerRegistrationData<E> regData)
Removes an event listener from an event source object.Methods in org.apache.commons.configuration2.builder with parameters of type Event Modifier and Type Method Description void
ReloadingBuilderSupportListener. onEvent(Event event)
Notifies this event listener about the arrival of a new event. -
Uses of Event in org.apache.commons.configuration2.builder.combined
Methods in org.apache.commons.configuration2.builder.combined with type parameters of type Event 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 Event in org.apache.commons.configuration2.event
Classes in org.apache.commons.configuration2.event with type parameters of type Event Modifier and Type Interface Description interface
EventListener<T extends Event>
Definition of a generic event listener interface.static class
EventListenerList.EventListenerIterator<T extends Event>
A specialIterator
implementation used by thegetEventListenerIterator()
method.class
EventListenerRegistrationData<T extends Event>
A data class holding information about an event listener registration.class
EventType<T extends Event>
A class representing an event type.Subclasses of Event in org.apache.commons.configuration2.event Modifier and Type Class Description class
ConfigurationErrorEvent
An event class that is used for reporting errors that occurred while processing configuration properties.class
ConfigurationEvent
An event class for reporting updates on a configuration object.Fields in org.apache.commons.configuration2.event with type parameters of type Event Modifier and Type Field Description static EventType<Event>
Event. ANY
The root event type for all configuration-related events.private EventType<? extends Event>
Event. eventType
The type of this event.Methods in org.apache.commons.configuration2.event with type parameters of type Event Modifier and Type Method Description <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>
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.<T extends Event>
java.util.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.Methods in org.apache.commons.configuration2.event that return types with arguments of type Event Modifier and Type Method Description EventType<? extends Event>
Event. getEventType()
Gets the type of this event.Methods in org.apache.commons.configuration2.event with parameters of type Event Modifier and Type Method Description private static void
EventListenerList. callListener(EventListener<?> listener, Event event)
Helper method for calling an event listener with an event.void
EventListenerList. fire(Event event)
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.private void
EventListenerList.EventListenerIterator. invokeNextListenerUnchecked(Event event)
Invokes the next event listener in the iteration without doing a validity check on the event.private void
EventListenerList.EventListenerIterator. validateEvent(Event event)
Checks whether the specified event can be passed to an event listener in this iteration.Constructor parameters in org.apache.commons.configuration2.event with type arguments of type Event Constructor Description Event(java.lang.Object source, EventType<? extends Event> evType)
Creates a new instance ofEvent
and sets basic properties. -
Uses of Event in org.apache.commons.configuration2.reloading
Subclasses of Event in org.apache.commons.configuration2.reloading Modifier and Type Class Description class
ReloadingEvent
An event that is fired when a reload operation is required.Methods in org.apache.commons.configuration2.reloading with type parameters of type Event 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)
-