Right now, the DTD we're using in modeler lets you define mbeans, constructors, attributes, notifications, and operations -- but you can only describe the standard (hard coded) properties of each of these elements. This is limiting in some scenarios (including one I'm working on).
The JMX Specification defines an additional capability in the metadata for a ModelMBean called a Descriptor, which is basically just a map of name-value pairs. The advantage is that this makes the metadata stored in an mbean extensible, without having to modify the commons-modeler DTD. I propose to support <descriptor> as an element in the mbeans-descriptors.dtd (and process it when a corresponding XML file is parsed), as well as make it available in appropriate extensions to the ManagedBean information. When you ask for the MBeanInfo for a bean, the descriptor information will be included. Does this sound OK with everybody? Craig -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
