<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:util="http://www.springframework.org/schema/util" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
    http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">

    <util:list id="subscriptionRoutesToSchedule">
        <value>OPSNET</value>
        <value>SBN</value>
    </util:list>

    <bean id="OPSNETRetrievalPlan"
        class="com.raytheon.uf.edex.datadelivery.bandwidth.retrieval.RetrievalPlan">
        <constructor-arg value="OPSNET" />
        <constructor-arg ref="BandwidthMap" />
        <constructor-arg ref="bandwidthDao" />
        <property name="scheduler">
            <bean
                class="com.raytheon.uf.edex.datadelivery.bandwidth.retrieval.PriorityRetrievalScheduler" />
        </property>
    </bean>

    <!-- SBN routed subscriptions are scheduled for retrieval at the WFO, 
        but the actual retrieval occurs at the NCF -->
    <bean id="SBNRetrievalPlan"
        class="com.raytheon.uf.edex.datadelivery.bandwidth.retrieval.RetrievalPlan">
        <constructor-arg value="SBN" />
        <constructor-arg ref="BandwidthMap" />
        <constructor-arg ref="bandwidthDao" />
        <property name="scheduler">
            <bean
                class="com.raytheon.uf.edex.datadelivery.bandwidth.retrieval.PriorityRetrievalScheduler" />
        </property>
    </bean>

    <util:map id="retrievalPlans">
        <entry key="OPSNET">
            <ref local="OPSNETRetrievalPlan" />
        </entry>
        <entry key="SBN">
            <ref local="SBNRetrievalPlan" />
        </entry>
    </util:map>

</beans>