commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38929] - [configuration] Support event listeners for configurations
Date Sun, 26 Mar 2006 18:25:16 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38929>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38929





------- Additional Comments From oliver.heger@t-online.de  2006-03-26 19:25 -------
I attached a patch with an initial implementation for this enhancement request
(dealing with the "raw" events, which can be the base of high-level event
listeners).

The idea is to have a class EventSource that provides basic functionality for
registering and notifying event listeners. AbstractConfiguration extends this
class, and all methods that modify the configuration call the inherited
fireEvent() method accordingly.

However I faced a problem with the clearProperty() method. Being abstract the
base class cannot provide event support for this method, so it would have to be
implemented in all sub classes - which certainly is no good solution.

Does anybody have an idea how to deal with this problem?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message