that's great but why 2 servers. Can't we just keep the two views and the single resource?
Actually... wouldn't that separate the views for tools as well? like 8082 would just see the admin one and the comp one would be internal... hmmmm. Using JMX as the MBus is really growing on me. marcf |-----Original Message----- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Juha |Lindfors |Sent: Friday, February 15, 2002 8:25 PM |To: [EMAIL PROTECTED] |Subject: Re: [JBoss-dev] Multipule MBeanServers | | | |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