MX4JMBeanServerDelegate?
Ward Harold <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.devel |
|---|---|
| Message-ID | <OF052FCCE1.EB1AA6DE-ON87256DC3.00034856-86256DC3.00043DD6@us.ibm.com> |
What's the reasoning behind having an MX4J-specific extension of
MBeanServerDelegate?
It seems reasonable, though it's not clear the spec requires it, to expect
that the following code would yield 'true':
ObjectInstance delegateoi = new
ObjectInstance("JMImplementation:type=MBeanServerDelegate",
"javax.management.MBeanServerDelegate");
Set s = mbs.queryMBeans(new
ObjectName("JMImplementation:type=MBeanServerDelegate"), null);
delegateoi.equals((ObjectInstance) s.toArray()[0]);
but it doesn't in MX4J. Looking at the code it appears that the reason may
have something to do with the MBeanServerBuilder. Anyone care to enlighten
me?
Thanks ... WkH