<?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="ObjectHolder" class="org.jboss.example.microcontainer.alias.ObjectHolder">
      <constructor><parameter><inject bean="viaconst"/></parameter></constructor>
      <property name="nameable"><inject bean="viaprop"/></property>
      <property name="names">
         <set>
            <inject bean="vianame"/>
            <inject bean="viaset"/>
            <inject bean="viaextalias"/>
         </set>
      </property>
      <start method="validate"/>
   </bean>

   <bean name="vianame" class="org.jboss.example.microcontainer.alias.Nameable">
      <alias>viaprop</alias>
      <alias>viaconst</alias>
      <alias>viaset</alias>
   </bean>

   <alias name="vianame">viaextalias</alias>

</deployment>
