I believe it is a bit strange how the jboss monitors have been implemented.

Instead of the listeners registering themselves with the broadcaster, the broadcaster 
registers the listeners!

If you want to play with notifications take a look at:

org.jboss.monitor.services.NotificationListener and its baseclass

[url]
http://www.jboss.org/wiki/Wiki.jsp?page=ExampleMinimalNotificationListener
[/url]

You can even use this external MBean (say X) to subscribe listener MBean (L) for 
arbritrary notifications from any number of broadcasters using type filtering too, 
supporting also dynamic subscriptions/unsubscriptions (thus solving any dependency 
problems)

Regards
/Dimitris

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848623#3848623

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848623


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to