RE: RequiredModelMBean not implementing NotificationListener

"Bordet, Simone" <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Hi,

well, for the record I don't like Model MBeans as well, and I never felt they missed me.
The spec is the spec, and we're implementing it.

You can always subclass RequiredModelMBean and let the subclass implement NotificationListener.

Hope helped,

Simon


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Hung Nguyen
Sent: Friday, March 05, 2004 2:50
To: [email protected]
Subject: [Mx4j-devel] RequiredModelMBean not implementing NotificationListener


Hi,

Why does the JMX specs not require RequiredModelMBean to implement the NotificationListener interface?  I have a scenario where I want my ModelMBean to execute some method based on a certain event.  Currently it is not possible for a ModelMBean to listen for an event.

Thanks,
Hung Nguyen


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.