This content has been marked as final.
Show 1 reply
-
1. Re: Custom MBean within SMX 4.2
ffang May 25, 2010 8:43 AM (in response to t0m.guenter)Hi,
In SMX4, there's already a javax.management.MBeanServer instance published as OSGi Service, so in your code, you can grap this OSGi Service.
Or use spring-dm/blueprint to inject this OSGi Service into your bean.
Using blueprint, something like
to get the OSGi service, then you can use mbeanServer to publish your MBean
Freeman