<?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="URL" class="java.net.URL">
      <constructor>
         <parameter>http://www.jboss.org/index.html</parameter>
      </constructor>
   </bean>

   <bean name="InjectionBean1" class="org.jboss.example.microcontainer.injection.InjectionBean">
      <constructor>
         <parameter>InjectionBean1</parameter>
      </constructor>
      <property name="host"><inject bean="URL" property="host"/></property>
   </bean>

   <bean name="InjectionBean2" class="org.jboss.example.microcontainer.injection.InjectionBean">
      <constructor>
         <parameter>InjectionBean2</parameter>
      </constructor>
      <property name="other"><inject bean="InjectionBean1"/></property>
   </bean>

   <bean name="Circular1" class="org.jboss.example.microcontainer.injection.InjectionBean">
      <constructor>
         <parameter>Circular1</parameter>
      </constructor>
      <property name="other"><inject bean="Circular2"/></property>
   </bean>

   <bean name="Circular2" class="org.jboss.example.microcontainer.injection.InjectionBean">
      <constructor>
         <parameter>Circular2</parameter>
      </constructor>
      <property name="other"><inject bean="Circular1" state="Instantiated"/></property>
   </bean>
      
</deployment>
