Hi there...

Couple things...

An "mbean" and an "xmbean" are 2 different things... Ultimately, an MBean is a java 
class that has a corresponding interface. The interface definition ends with "MBean" 
and contains the attributes that you want to be able to manage through the JMX console.

An XMBean does not have a corresponding interface, what it actually is, is a POJO 
(plain old java object) with whatever methods you want in it, and a corresponding XML 
descriptor that tells the JMX Server which attributes of the POJO you want to be able 
to expose to the JMX console.

Chances are you only want ONE of the two tags (@jboss.xmbean @jmx.mbean ) defined in 
your class (not both).

Remember that XMBeans are something that is JBoss specific, they are not actually part 
of the JMX specification. I'm not 100% certain as to why it would generate that 
interface to be empty. It should contain the method:

public Integer getActiveJobCount();

Maybe try without the "xmbean" tag, but I don't think that the two could be related. 
Let me know what happens.
-daniel

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

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


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to