<?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="Task" class="org.jboss.example.microcontainer.installation.MyTimerTask">
      <install bean="Timer" method="schedule">
         <parameter><this/></parameter>
         <parameter class="long">100</parameter>
         <parameter class="long">10000</parameter>
      </install>
      <uninstall method="cancel"/>
   </bean>

   <bean name="Timer" class="org.jboss.example.microcontainer.installation.DeamonTimer">
      <uninstall method="cancel"/>
   </bean>

</deployment>
