<?xml version="1.0" encoding="utf-8" ?>
<objects xmlns="http://www.springframework.net"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:quartz="http://www.opensymphony.com/quartz/JobSchedulingData"
         xsi:schemaLocation="http://www.springframework.net http://www.springframework.net/xsd/spring-objects.xsd" >


  <!-- Jobs -->
  <object id="cashRefreshJob" type="Sleis.Infrastructure.Schedule.CashRefreshJob" />
  
  <!-- Schedule Job -->
  <object id="cashRefreshJobDetail" type="Spring.Scheduling.Quartz.MethodInvokingJobDetailFactoryObject, Spring.Scheduling.Quartz">
    <property name="TargetObject" ref="cashRefreshJob" />
    <property name="TargetMethod" value="RefreshCache" />
  </object>
  
  <!-- Simple Trigger -->
  <object id="cashRefreshJobTrigger" type="Spring.Scheduling.Quartz.SimpleTriggerObject, Spring.Scheduling.Quartz">
    <property name="jobDetail" ref="cashRefreshJobDetail" />
    <property name="startDelay" value="20s" />
    <property name="repeatInterval" value="3m" />
  </object>

  <!-- Schedules -->
  <object type="Spring.Scheduling.Quartz.SchedulerFactoryObject, Spring.Scheduling.Quartz">
    <property name="triggers">
      <list>
        <ref object="cashRefreshJobTrigger" />
      </list>
    </property>
  </object>


</objects>