As Jetty already wraps it's major components as MBeans (Listeners and Contexts) then I think it makes sense for the AbstractWebContainer only to define interfaces for the components that need to be managed.
Then the specific web container can instantiate those component MBeans with the JSR-77 attributes plus any container specific attributes. If the web container only provided data rather than created the management objects, then it would be difficult to include additional attributes and methods. I guess we could have two sets of MBeans, but that is a bit ugly. Scott M Stark wrote: > It does not have to be exposed if its not a useful op. These > management objects can just be created, registered on deployment > of a web module and unregistered when the web module is > undeployed. That would be simpler. I'm not sure if the web > container will have to actually create the management objects > or just provide the info to create these. Since you could define > a WebModule that has its stateManageable, statisticsProvider, > and eventProvider attributes false, a minimal managed view could > be provided using simple data objects from the web server. > That should be a supported option as it is a low barrier of > entry for the web server integrater. > > The more complex the management object implementation in > terms of those attributes the more it seems the web server itself > will have to create the management object. > > xxxxxxxxxxxxxxxxxxxxxxxx > Scott Stark > Chief Technology Officer > JBoss Group, LLC > xxxxxxxxxxxxxxxxxxxxxxxx > ----- Original Message ----- > From: "Andreas Schaefer" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, June 20, 2002 5:43 PM > Subject: Re: [JBoss-dev] JSR-77 and Jetty > > > >>Hi Scott >> >> >>>At a minimum at the AbstractWebContainer level we define the hooks to >> >>obtain >> >>>the required Servlet[] management objects needed to make up the >> > WebModule > >>>management object. There may not be much to this other than a simple >>>template method that defines the requirements for obtaining management >>>information/callbacks to impliment the JSR-77 objects. >>> >>>These are not attributes or operations of the web container right? They >>>are just mbeans bound into the JSR-77 management namespace. Maybe >>>there is a WebModule[] getWebModules() operation here? >> >>Just to see that I understand you correctly. You want to expose a list >>of JSR-77 MBeans by the AbstractWebContainer with getWebModule(). >>And the JSR-77 MBeans are provided by the Web server. >> >>Correct ? >> >>Andy > > > > > > ------------------------------------------------------- > Sponsored by: > ThinkGeek at http://www.ThinkGeek.com/ > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development -- Greg Wilkins<[EMAIL PROTECTED]> GB Phone: +44-(0)7092063462 Mort Bay Consulting Australia and UK. Mbl Phone: +61-(0)4 17786631 http://www.mortbay.com AU Phone: +61-(0)2 98107029 ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
