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 newConfigurationobjects.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>
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 classConfigurationBuilderEventA base event class for events generated by aConfigurationBuilder.classConfigurationBuilderResultCreatedEventA specialized event class which is generated by aConfigurationBuilderwhen 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 specifiedEventListenerRegistrationDatainstance 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.<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
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.<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
Classes in org.apache.commons.configuration2.event with type parameters of type Event Modifier and Type Interface Description interfaceEventListener<T extends Event>Definition of a generic event listener interface.static classEventListenerList.EventListenerIterator<T extends Event>A specialIteratorimplementation used by thegetEventListenerIterator()method.classEventListenerRegistrationData<T extends Event>A data class holding information about an event listener registration.classEventType<T extends Event>A class representing an event type.Subclasses of Event in org.apache.commons.configuration2.event Modifier and Type Class Description classConfigurationErrorEventAn event class that is used for reporting errors that occurred while processing configuration properties.classConfigurationEventAn 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. ANYThe root event type for all configuration-related events.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>
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 anIterableallowing 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 withEventListenerRegistrationDataobjects 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 voidEventListenerList. fire(Event event)Fires an event to all registered listeners matching the event type.voidEventListenerList.EventListenerIterator. invokeNext(Event event)Obtains the next event listener in this iteration and invokes it with the given event object.Constructor parameters in org.apache.commons.configuration2.event with type arguments of type Event Constructor Description Event(Object source, EventType<? extends Event> evType)Creates a new instance ofEventand 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 classReloadingEventAn 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)
-