First off, thanks David J. for adding the test case.

Anyway,

For my own project, I have made a base Dynamic MBean for my own code
that all my MBeans are based on.

Mainly to avoid the whole MyClass.java must have a MyClassMBean.java
type thing that really doesn't work for me given what I use my custom
mbeans for.

And to allow the subclasses to define their own descriptions of
methods/params etc..

I added to my base class start() and stop(), which JBoss sees and does
indeed call.

I don't (yet) however, define  Name, State, StateString attributes that
are in ServiceMBean.  

Just start() and stop()

Does JBoss make use of the ServiceMBean attributes?  Or are they just
for informational purposes?

And, are start()/stop() JBoss-isms?  Or some kind of standard thing?  I
couldn't find them in the JMX spec.

Would I magically get better managability by making my dynamic base
implement ServiceMBean, and make them work like ServiceMBeanSupport?

-David

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to