[ http://jira.jboss.com/jira/browse/JBXB-7?page=comments#action_12316266 ]
     
Scott M Stark commented on JBXB-7:
----------------------------------

I'm not sure what the polymorphism example scope is, but the 
testSimpleCollection.xml example in 
jboss-head/testsuite/src/resources/xml/pojoserver has been updated to 
illustrate different types of java.util.List, java.util.Set, and 
java.util.Collection instances:

<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
   xsi:schemaLocation="urn:jboss:xml-deployer xml-deployer_1_0.xsd"
   xmlns="urn:jboss:xml-deployer">
   <bean name="SimpleBean1"
      class="org.jboss.test.xml.pojoserver.SimpleBeanImpl">
      <property name="aList">
         <list class="java.util.LinkedList">
            <value>value0</value>
            <value>value1</value>
         </list>
      </property>
      <property name="aSet">
         <set class="java.util.HashSet">
            <value>value0</value>
            <value>value1</value>
         </set>
      </property>
      <property name="collection">
         <map class="java.util.HashMap">
            <mapEntry name="other">
               <dependency value="SimpleBean2" />
            </mapEntry>
            <mapEntry name="nullKey">
               <null/>
            </mapEntry>
         </map>
      </property>
      <property name="props">
         <props>
            <propsEntry name="prop0">value0</propsEntry>
            <propsEntry name="prop1">value1</propsEntry>
         </props>
      </property>
   </bean>
</deployment>


> Create a deployment instance doc illustrating the polymorphism requirements
> ---------------------------------------------------------------------------
>
>          Key: JBXB-7
>          URL: http://jira.jboss.com/jira/browse/JBXB-7
>      Project: JBoss XML Binding (JBossXB)
>         Type: Sub-task
>     Reporter: Scott M Stark
>     Assignee: Adrian Brock

>
>
> Please create an xml deployer instance example which shows your polymorphism 
> requirements.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
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

Reply via email to