ReloadingEvent now extends Event.

The event mechanism used by ReloadingController is going to be ported to the
new mechanism based on event types.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609781 13f79535-47bb-0310-9956-ffa450edef68
Renamed type parameter.

The parameter T is already used by the class. Therefore, E was chosen for the
event type.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609782 13f79535-47bb-0310-9956-ffa450edef68
ReloadingController now supports the new event style.

The old methods for adding and removing event listeners have been deprecated.
They will be removed when all references have been replaced.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609783 13f79535-47bb-0310-9956-ffa450edef68
Adapted ReloadingBuilderSupportListener to changes on ReloadingController.

The new event mechanism is used to register the listener.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609784 13f79535-47bb-0310-9956-ffa450edef68
Removed deprecated event handling methods from ReloadingController.

All callers of these methods have been adapted; so they are now obsolete and
can be removed.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609785 13f79535-47bb-0310-9956-ffa450edef68
Removed obsolete ReloadingListener interface.

The interface is now replaced by the generic EventListener interface.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609786 13f79535-47bb-0310-9956-ffa450edef68
Reworked ConfigurationEvent to conform to the new event mechanism.

The class now extends Event and can handle an EventType. The old numeric type
is still stored; it will be removed when the refactoring is complete.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609787 13f79535-47bb-0310-9956-ffa450edef68
Added new event type constants for basic update events.

A new test class was added to check whether the types are correctly set up.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609788 13f79535-47bb-0310-9956-ffa450edef68
Added methods to EventListenerList for querying registered event listeners.

This is mainly useful in unit tests, but also supports advanced iteration over
event listeners.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609789 13f79535-47bb-0310-9956-ffa450edef68
Modified EventSource interface.

New methods for adding and removing event listeners were added based on the
event type. The existing methods were deperecated. This commit breaks the
build because not all adaptations have been made.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609790 13f79535-47bb-0310-9956-ffa450edef68
Implemented methods for new event handlers in BaseEventSource.

Adapted event handling in AbstractConfiguration and made the base test for
event handling run again.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609791 13f79535-47bb-0310-9956-ffa450edef68
Removed unneeded member field.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609792 13f79535-47bb-0310-9956-ffa450edef68
Added an alternative method for querying event listeners.

The new method is more generic and allows filtering by an event type. The old
method for querying configuration listeners has been deprecated.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609793 13f79535-47bb-0310-9956-ffa450edef68
Adapted PropertiesConfigurationLayout to new event mechanism.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609794 13f79535-47bb-0310-9956-ffa450edef68
Fixed a failing test case for PropertiesConfiguration related to events.

Also fixed some warnings from IntelliJ.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609795 13f79535-47bb-0310-9956-ffa450edef68
Adapted abstract base test class for PList configuration events.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609796 13f79535-47bb-0310-9956-ffa450edef68
Added event type constants for hierarchical configuration events.

The existing numeric constants in AbstractHierarchicalConfiguration have been
(temporarily) deprecated before they are eventually removed.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609797 13f79535-47bb-0310-9956-ffa450edef68
Hierarchical configurations now generate events of the new type.

The test class for hierarchical configuration events now runs
successfully.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609798 13f79535-47bb-0310-9956-ffa450edef68
TestXMLConfigurationEvents now extends TestHierarchicalConfigurationEvents.

XMLConfiguration is a hierarchical configuration class. Therefore, it makes
sense to check for hierarchical events as well.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609799 13f79535-47bb-0310-9956-ffa450edef68
Fixed test class for CompositeConfiguration.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/configuration/trunk@1609800 13f79535-47bb-0310-9956-ffa450edef68