On 2002.06.18 14:44:36 -0400 marc fleury wrote: > |It won't do multiple languages yet AFAIK, but how about using the xmbean > |functionality? You can put the descriptions in your source files and > |generate the xmbean xml descriptors using xdoclet. I don't know if > jetty > > That's really cool, does it support initial values for the attributes as > well? >
Not yet AFAIK, it would require a special attribute interceptor. Right now its metadata only, no actual data. There's another subtask to generate skeleton *-service.xml files. This would be pretty trivial to modify to include default values. I think of the xmbean descriptor as part of the mbean definition ATM, and the values in *-service.xml as part of the configuration. I guess if we put initial values in the xmbean descriptor then the service.xml only needs a list of what mbeans to deploy. It would mean that xmbean descriptors were unique to an mbean instance rather than a class. This starts to look a little like something Juha was talking about, separating which mbeans are in the server from their configuration. david jencks > marcf > > > |is using the jboss service controller stuff to load its mbeans, but that > |system will now deploy xmbeans. > | > |I think we are planning to move all our mbeans to xmbeans when we have a > |little time;-) > | > |Or are you trying to do something else? > | > |david jencks > | > |On 2002.06.10 07:54:51 -0400 Greg Wilkins wrote: > |> Juha, > |> > |> I'd like to extend the JMX metadata generation to search for proper > |> descriptions for MBeans, attributes, methods and parameters from > resource > |> files. > |> > |> If you startup a JBoss that uses Jetty, you will see via the JMX agent > |> that all the jetty MBeans have descriptive text associated with them. > |> This text is obtained from mbean_en.properties files which are > searched > |> for on the package/inheritance hierarchy of the MBean. > |> > |> I think it adds significantly to the usability of the JMX interface. > |> > |> It should be a pretty simple addition to the StandardMetaData > |> class. As you appear to be the main author of the JMX stuff, I > thought > |> I'd clear it with you before adding this capability. > |> > |> Of course, even with this capability, we would still need other > |> developers > |> to actually write the mbean.properties files - but at least there > would > |> be > |> a standard mechanism to document the MBeans. > |> > |> regards > |> > |> > |> > |> -- > |> 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 > |> > |> > |> _______________________________________________________________ > |> > |> Don't miss the 2002 Sprint PCS Application Developer's Conference > |> August 25-28 in Las Vegas - > http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > > > _______________________________________________ > > Jboss-development mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas - > http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > ---------------------------------------------------------------------------- > Bringing you mounds of caffeinated joy > >>> http://thinkgeek.com/sf <<< > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > ---------------------------------------------------------------------------- Bringing you mounds of caffeinated joy >>> http://thinkgeek.com/sf <<< _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development