Author: oheger
Date: Sun Jul 13 20:09:51 2014
New Revision: 1610305
URL: http://svn.apache.org/r1610305
Log:
Javadoc.
Modified:
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/event/EventSource.java
Modified:
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/event/EventSource.java
URL:
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/event/EventSource.java?rev=1610305&r1=1610304&r2=1610305&view=diff
==============================================================================
---
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/event/EventSource.java
(original)
+++
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/event/EventSource.java
Sun Jul 13 20:09:51 2014
@@ -23,8 +23,10 @@ package org.apache.commons.configuration
* </p>
* <p>
* Through the methods provided by this interface it is possible to register
and
- * remove event listeners for configuration events. Both configuration change
- * listeners and error listeners are supported.
+ * remove listeners for different events supported by this library. The event
+ * type to be handled by a listener must be provided; the specified event
listener
+ * must be compatible with this event type. By using generic type parameters,
the
+ * compiler can check this.
* </p>
*
* @version $Id$
@@ -32,7 +34,6 @@ package org.apache.commons.configuration
*/
public interface EventSource
{
-
/**
* Adds an event listener for the specified event type. This listener is
* notified about events of this type and all its sub types.