This is brilliant!  My poor fingers are too tired to comment further at
the moment... but brilliant I tell you!

--jason


On Fri, 2002-02-15 at 20:25, Juha Lindfors wrote:
> 
> MBeanServer adminServer = MBeanServerFactory.createMBeanServer();
> MBeanServer compServer = MBeanServerFactory.createMBeanServer();
> MyService service = new MyService();
> 
> ModelMBean admin = new ModelMBean();
> admin.setModelMBeanInfo(adminInterface);
> admin.setManagedResource(service);
> adminServer.registerMBean(admin);
> 
> ModelMBean comp = new ModelMBean();
> comp.setModelMBeanInfo(compInterface);
> comp.setManagedResource(service);
> compServer.registerMBean(comp);
> 
> -- Juha
> 
> > Ahh haa... can you elaborate your thinking on this?
> > 
> > --jason
> > 
> > 
> > On Fri, 2002-02-15 at 17:26, Juha Lindfors wrote:
> > > why not use two model mbeans with different
> > interfaces for the same resource?
> > > 
> > > -- Juha
> > > 
> > > > I would agree if we could vary the interfaces,
> > ie.
> > > > specify one mbean
> > > > interface for the inter-component bus and one for
> > > > admin.
> 
> 
> _________________________________________________________
> View thread online: http://main.jboss.org/thread.jsp?forum=66&thread=8538
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to