> -----Original Message----- > From: David Jencks [mailto:[EMAIL PROTECTED] > > I've been burned many times using the jboss xmbean descriptors > generated by xdoclet because there is no reasonable way to syntax check > the rather complicated javadoc tags needed as input to xdoclet. I have > found maintaining these tags very difficult -- they tend to be > write-only. After this experience, I want to try something else.
I see your point. I hadn't thoroughly considered the write-only aspect. > > What about > > something > > like: > > > > <mbean descriptor="org.apache.geronimo.security.Server" > > name="geronimo.security:type=SecurityRealm" > > interface="org.apache.geronimo.security.ServerMBean"/> > > > > Where ServerMBean is generated by xdoclet or written by hand. You get > > something readable to look at, if you so desired. There's no extra > > coding, > > so there's no mistakes in generating the GeronimoMBeanInfo. > > This looks more or less reasonable to me, although my impression is > that it is a way to deploy a standard mbean as a geronimo mbean. If > so, we don't need the descriptor: we can write something in the service > deployer that, for a standard mbean, generates GeronimoMBeanInfo from > that interface. This is basically what I was suggesting about adding > more conveniences to GeronimoMBeanInfo setup. Yes, seems to be a good mix of ideas, more conveniences to GeronimoMBeanInfo setup and an interface attribute to the mbean element. This will provide a way for people to make GeronimoMBeans any way they please. Regards, Alan
