"
see http://www.jboss.org/wiki/Wiki.jsp?page=ExampleHelloWorldService 

Your MBean must implement an interface TMBeanService1MBean interface that, in 
turn, extends org.jboss.system.Service). 

The name is important since JMX uses this naming convention for standard 
MBeans, that class Z must implement ZMBean. 

An alternative for TMBeanService1MBean is to extend 
org.jboss.system.ServiceMBean, and you class to extend in addition 
ServiceMBeanSupport. This provides a somewhat tighther integration with the 
jboss service lifecycle model. 

_________________
Regards 
/Dimitris 
"

Hello Dimitris :

 Thanks for your reply. 
 BUt I cannot find the class "org.jboss.system.ServiceMBeanSupport"

 I am using Jboss4 version.

 Thanks in advance.
 Lawrence

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to