If you want to make your POJO appear as an MBean you *must* use an mbean + 
xmbean descriptor.

Extending ServiceMBeanSupport is useful if you want to do things like produce 
or consume notifications, invoke on other MBeans, etc., in general things that 
translate to your class having knowledge of JMX.

You can also do both, i.e extend ServiceMBeanSupport *and* use an mbean+xmbean 
descriptor

Using the xmbean descriptor allows you to:

add rich metadata descriptions
produce automatically AttributeChangeNotification on attribute updates
persist attribute changes
cache attribute values
add your own interceptors
...


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

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


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to