I'm thinking of a new version of the XMBean descriptor that better allows for externalization of XMBeans. It provides the same type of metadata view + the ability to specify how to create the mbean resource with a non-default constructor. This would allow for creation and registration of a XMBean from its descriptor and is needed to externalize jmx microkernel elements like the loader repository, and bootstrap services.
One thing I would like to use the new xml metadata framework for is the ability to tranform arbitrary xml fragments from external schemas into objects that would be passed to the persistence manager and xmbean resource ctors. For example, the following doc has mypm:data namespace fragment and a xmlbean:data fragment. Will the new xml metadata framework handle this? Any comments on such an extension to the current xmbean metadata? <xmbean> <mbeaninfo> <bean> <name>...</name> <class>...</class> <displayName>....</displayName> <descriptors> ... <persistence-manager> <mypm:data> ... some external schema fragment for configuring the pm ... </mypm:data> </persistence-manager> </descriptors> </bean> <constructors> ... </constructors> <attributes> ... </attributes> <operations> ... </operations> <notifications> ... </notifications> </mbeaninfo> <resource> <class>...</class> <constructor> <args> <arg type="..."> <xmlbean:data> ... external xml fragment representing serialized form of args ... </xmlbean:data> </arg> ... </args> </constructor> <object-name>jmx-object-name</object-name> </resource> </xmbean> xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development