Does this support nested java beans, or is that the Beans as values item? Also,
what about custom object factories based on namespaces? This is an example from
head I'm working on for the legacy service descritpor:
| <!-- Tell JBossXB about the namespace to factory mappings in this doc -->
| <?jbossxb ns="urn:schema:ns1:jbossxb"
| factory="org.jboss.test.jmx.complexattrs.JavaBeanObjectModelFactory"?>
| ...
|
| <!-- Test the jbossxb attribute data type syntax -->
| <mbean code="org.jboss.test.jmx.complexattrs.ComplexAttrTests"
| name="test:name=ComplexAttrTests,case=#2">
| <attribute name="Bean1"
| attributeClass="org.jboss.test.jmx.complexattrs.JavaBean1"
| serialDataType="jbossxb"
| xmlns:ns1="urn:schema:ns1:jbossxb">
| <ns1:javabean1>
| <property name="bindAddress">127.0.0.1</property>
| <property name="someDate">Sun Jan 2 23:26:49 PST
2005</property>
| <property name="props">
| prop1=value1
| prop2=value2
| prop3=${prop3.systemProperty}
| </property>
| <property name="names">name1,name2,name3</property>
| <property name="someURL">http://www.jboss.org</property>
| </ns1:javabean1>
| </attribute>
| ...
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870491#3870491
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870491
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development