RequiredModelMBean
Roland Huss <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm looking for a way to use Mx4j's ModelMBean within another JMX implementation (e.g. for
using its persistence facility). However, since Mx4j provides its ModelMBean within
jaxax.management.modelmbean.RequiredModelMBean only, this is not possible e.g. within an
application server setup where the parent class loader always 'wins' and uses the
RequiredModelMBean provided by the AppServer (e.g. JBoss).
There would be a simple solution to this: Rename 'javax.management.RequiredModelMBean' to
something like 'mx4j.Mx4jModelMBean' and define a RequiredModelMBean by extending
Mx4jModelMBean (with no extra method). With this setup one could use Mx4JModelMBean in a
different JMX implementation without problem.
What do you think ?
--
...roland huss
consol.de
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar