Craig Day wrote:

 > Hi,

Hello.

[snip]

 > An  example of this is ClassPathExtension. However
 > ClassPathExtension is declared to implement
 > ClassPathExtensionMBean, which is empty, effectively blowing away
 > all of the management interfaces in the hierarchy. Is this the
 > intention?

ClassPathExtension doesn't extend ServiceMBeanSupport. If a class Foo
extends ServiceMBeanSupport then FooMBean will extend ServiceMBean, thus
exposing the methods in it.

If you look at almost any other MBeans in JBoss you'll see this pattern.

 > Doesn't this mean that other JMX agents are not going to see init,
 > start, stop etc.

For ClassPathExtension, yes, because it's not a Service.

Toby.



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to