| 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 new
Configuration 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.
|
| Modifier and Type | Method | Description |
|---|---|---|
<T extends Event> |
DynamicCombinedConfiguration.addEventListener(EventType<T> eventType,
EventListener<? super T> listener) |
|
<T extends Event> |
PatternSubtreeConfigurationWrapper.addEventListener(EventType<T> eventType,
EventListener<? super T> listener) |
|
<T extends Event> |
PatternSubtreeConfigurationWrapper.getEventListeners(EventType<T> eventType) |
|
<T extends Event> |
DynamicCombinedConfiguration.removeEventListener(EventType<T> eventType,
EventListener<? super T> listener) |
|
<T extends Event> |
PatternSubtreeConfigurationWrapper.removeEventListener(EventType<T> eventType,
EventListener<? super T> listener) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
ConfigurationBuilderEvent |
A base event class for events generated by a
ConfigurationBuilder. |
class |
ConfigurationBuilderResultCreatedEvent |
A specialized event class which is generated by a
ConfigurationBuilder when a result configuration has been created. |
| Modifier and Type | Method | Description |
|---|---|---|
<E extends Event> |
BasicConfigurationBuilder.addEventListener(EventType<E> eventType,
EventListener<? super E> listener) |
Adds an event listener for the specified event type.
|
<T extends Event> |
EventListenerParameters.addEventListener(EventListenerRegistrationData<T> registrationData) |
Adds the specified
EventListenerRegistrationData instance to this
object. |
<T extends Event> |
EventListenerParameters.addEventListener(EventType<T> eventType,
EventListener<? super T> listener) |
Adds an event listener of the specified event type to this object.
|
protected <E extends Event> |
BasicConfigurationBuilder.installEventListener(EventType<E> eventType,
EventListener<? super E> listener) |
Adds the specified event listener to this object.
|
<E extends Event> |
BasicConfigurationBuilder.removeEventListener(EventType<E> eventType,
EventListener<? super E> listener) |
Removes the event listener registration for the given event type and
listener.
|
| Modifier and Type | Method | Description |
|---|---|---|
<E extends Event> |
MultiFileConfigurationBuilder.addEventListener(EventType<E> eventType,
EventListener<? super E> l) |
Adds an event listener for the specified event type.
|
<E extends Event> |
MultiFileConfigurationBuilder.removeEventListener(EventType<E> eventType,
EventListener<? super E> l) |
Removes the event listener registration for the given event type and
listener.
|
| 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 special
Iterator implementation used by the
getEventListenerIterator() 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.
|
| 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.
|
| Modifier and Type | Field | Description |
|---|---|---|
static EventType<Event> |
Event.ANY |
The root event type for all configuration-related events.
|
| Modifier and Type | Method | Description |
|---|---|---|
<T extends Event> |
BaseEventSource.addEventListener(EventType<T> eventType,
EventListener<? super T> listener) |
|
<T extends Event> |
EventListenerList.addEventListener(EventListenerRegistrationData<T> regData) |
Adds the specified listener registration data object to the internal list
of event listeners.
|
<T extends Event> |
EventListenerList.addEventListener(EventType<T> type,
EventListener<? super T> listener) |
Adds an event listener for the specified event type.
|
<T extends Event> |
EventSource.addEventListener(EventType<T> eventType,
EventListener<? super T> listener) |
Adds an event listener for the specified event type.
|
<T extends Event> |
EventListenerList.getEventListenerIterator(EventType<T> eventType) |
Returns a specialized iterator for obtaining all event listeners stored
in this list which are compatible with the specified event type.
|
<T extends Event> |
BaseEventSource.getEventListeners(EventType<T> eventType) |
Returns a collection with all event listeners of the specified event type
that are currently registered at this object.
|
<T extends Event> |
EventListenerList.getEventListeners(EventType<T> eventType) |
Returns an
Iterable allowing access to all event listeners stored
in this list which are compatible with the specified event type. |
<T extends Event> |
EventListenerList.getRegistrationsForSuperType(EventType<T> eventType) |
Returns a list with
EventListenerRegistrationData 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> |
BaseEventSource.removeEventListener(EventType<T> eventType,
EventListener<? super T> listener) |
|
<T extends Event> |
EventListenerList.removeEventListener(EventListenerRegistrationData<T> regData) |
Removes the event listener registration defined by the passed in data
object.
|
<T extends Event> |
EventListenerList.removeEventListener(EventType<T> eventType,
EventListener<? super T> listener) |
Removes the event listener registration for the given event type and
listener.
|
<T extends Event> |
EventSource.removeEventListener(EventType<T> eventType,
EventListener<? super T> listener) |
Removes the event listener registration for the given event type and
listener.
|
| Modifier and Type | Method | Description |
|---|---|---|
EventType<? extends Event> |
Event.getEventType() |
Returns the type of this event.
|
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
| Constructor | Description |
|---|---|
Event(java.lang.Object source,
EventType<? extends Event> evType) |
Creates a new instance of
Event and sets basic properties. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
ReloadingEvent |
An event that is fired when a reload operation is required.
|
| Modifier and Type | Method | Description |
|---|---|---|
<T extends Event> |
ReloadingController.addEventListener(EventType<T> eventType,
EventListener<? super T> listener) |
Adds an event listener for the specified event type.
|
<T extends Event> |
ReloadingController.removeEventListener(EventType<T> eventType,
EventListener<? super T> listener) |
Copyright © 2001–2018. All rights reserved.