This content has been marked as final. 
    
Show                 1 reply
    
- 
        1. Re: How can a custom mbean to access other mbeans?mazz Feb 14, 2005 6:46 PM (in response to davidchen)Your MBean implementation can override preRegister and squirrel away the MBeanServer that it gets. Have your MBean provide a public getter to that MBeanServer and you would then be able to have clients know what MBeanServer it belongs to. JBoss's ServiceMBean provides such a mechanism - giving your MBean that functionality, but it has to extend the JBoss specific ServiceMBean impl (ServiceMBeanSupport I think is the name) 
 
    