Tim, Just publish the MBeanServer instance into service registry and the mbeans will automatically register themselves with the given MBeanServer. See org.apache.aries.jmx.MBeanServiceTracker.
Jarek On Wed, Feb 3, 2010 at 11:21 AM, Tim J Mitchell <[email protected]> wrote: > Hi, > > My name is Tim Mitchell and I work for IBM using Apache Aries. I'm > currently looking at using the OSGi JMX MBeans and need a method of > accessing the MBeans and registering them in an external MBean server. > I am raising a JIRA and supplying a patch for a factory class to allow > this. I'd be interested to hear peoples opinion on this suggestion. > > Thanks > > Tim Mitchell > Software Engineer > Websphere Enterprise Foundation Technologies > MP211 > IBM UK Labs, Hursley > tel. no: +44 (0)1962 818879 > internal tel. no: 248879 > email: [email protected] > > > > > > Unless stated otherwise above: > IBM United Kingdom Limited - Registered in England and Wales with number > 741598. > Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU > > > > > >
