<?xml version="1.0" encoding="UTF-8"?>

<deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="urn:jboss:bean-deployer:2.0 bean-deployer_2_0.xsd"
            xmlns="urn:jboss:bean-deployer:2.0">

   <bean name="PrintCollection" class="org.jboss.example.microcontainer.collections.ObjectPrinter">
      <constructor><parameter>Collection</parameter></constructor>
      <property name="print">

         <collection elementClass="java.lang.String">
            <value>Value of type elementClass</value>
            <value class="java.lang.Integer">4</value>
         </collection>

      </property>
   </bean>

   <bean name="PrintList" class="org.jboss.example.microcontainer.collections.ObjectPrinter">
      <constructor><parameter>List</parameter></constructor>
      <property name="print">

         <list elementClass="java.lang.String">
            <value>Value of type elementClass</value>
            <value class="java.lang.Integer">4</value>
         </list>

      </property>
   </bean>

   <bean name="PrintLinkedList" class="org.jboss.example.microcontainer.collections.ObjectPrinter">
      <constructor><parameter>LinkedList</parameter></constructor>
      <property name="print">

         <list class="java.util.LinkedList" elementClass="java.lang.String">
            <value>Value of type elementClass</value>
            <value class="java.lang.Integer">4</value>
         </list>

      </property>
   </bean>

   <bean name="PrintSet" class="org.jboss.example.microcontainer.collections.ObjectPrinter">
      <constructor><parameter>Set</parameter></constructor>
      <property name="print">

         <set elementClass="java.lang.String">
            <value>Value of type elementClass</value>
            <value class="java.lang.Integer">4</value>
         </set>

      </property>
   </bean>

   <bean name="PrintMap" class="org.jboss.example.microcontainer.collections.ObjectPrinter">
      <constructor><parameter>Map</parameter></constructor>
      <property name="print">

         <map keyClass="java.lang.String" valueClass="java.lang.String">
            <entry>
               <key>Key1 of type keyClass</key>
               <value>Value1 of type valueClass</value>
            </entry>
            <entry>
               <key>Key2 of type keyClass</key>
               <value class="java.lang.Integer">4</value>
            </entry>
            <entry>
               <key class="java.lang.Long">4</key>
               <value>Value of type valueClass</value>
            </entry>
         </map>

      </property>
   </bean>

   <bean name="PrintHashtable" class="org.jboss.example.microcontainer.collections.ObjectPrinter">
      <constructor><parameter>Hashtable</parameter></constructor>
      <property name="print">

         <map class="java.util.Hashtable" keyClass="java.lang.String" valueClass="java.lang.String">
            <entry>
               <key>Key1 of type keyClass</key>
               <value>Value1 of type valueClass</value>
            </entry>
            <entry>
               <key>Key2 of type keyClass</key>
               <value class="java.lang.Integer">4</value>
            </entry>
            <entry>
               <key class="java.lang.Long">4</key>
               <value>Value of type valueClass</value>
            </entry>
         </map>

      </property>
   </bean>
      
</deployment>
