2013-02-19 08:23:00 -06:00
|
|
|
<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"
|
2013-05-29 14:49:43 -05:00
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
|
|
|
|
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.1.xsd">
|
2013-02-19 08:23:00 -06:00
|
|
|
|
|
|
|
<bean id="bandwidthManagerCreator"
|
|
|
|
class="com.raytheon.uf.edex.datadelivery.bandwidth.WfoBandwidthManagerCreator" />
|
|
|
|
|
2013-11-19 19:16:22 -06:00
|
|
|
<bean name="localSubscriptionHandler"
|
|
|
|
class="com.raytheon.uf.common.datadelivery.registry.handlers.SubscriptionHandler">
|
|
|
|
<constructor-arg>
|
|
|
|
<bean
|
|
|
|
class="com.raytheon.uf.edex.datadelivery.bandwidth.handler.LocalSiteSubscriptionHandler">
|
|
|
|
<property name="registryHandler" ref="registryHandler" />
|
|
|
|
</bean>
|
|
|
|
</constructor-arg>
|
|
|
|
<constructor-arg>
|
|
|
|
<bean
|
|
|
|
class="com.raytheon.uf.common.datadelivery.registry.handlers.EmptySharedSubscriptionHandler">
|
|
|
|
</bean>
|
|
|
|
</constructor-arg>
|
2014-01-20 16:52:00 -06:00
|
|
|
<constructor-arg>
|
|
|
|
<bean
|
|
|
|
class="com.raytheon.uf.common.datadelivery.registry.handlers.EmptyAdhocSubscriptionHandler">
|
|
|
|
</bean>
|
|
|
|
</constructor-arg>
|
2013-11-19 19:16:22 -06:00
|
|
|
</bean>
|
|
|
|
|
2014-02-03 12:52:10 -06:00
|
|
|
<bean id="findActiveSubscriptionsForRoute"
|
|
|
|
class="com.raytheon.uf.edex.datadelivery.bandwidth.util.FindActiveSubscriptionsForRoute">
|
|
|
|
<constructor-arg ref="localSubscriptionHandler" />
|
|
|
|
<constructor-arg ref="subscriptionRoutesToSchedule" />
|
|
|
|
</bean>
|
|
|
|
|
2013-11-19 19:16:22 -06:00
|
|
|
<util:list id="subscriptionRoutesToSchedule">
|
|
|
|
<value>OPSNET</value>
|
|
|
|
</util:list>
|
|
|
|
|
|
|
|
<bean id="bandwidthInitializer"
|
|
|
|
class="com.raytheon.uf.edex.datadelivery.bandwidth.hibernate.HibernateBandwidthInitializer">
|
2014-02-03 12:52:10 -06:00
|
|
|
<constructor-arg ref="findActiveSubscriptionsForRoute" />
|
2013-11-19 19:16:22 -06:00
|
|
|
</bean>
|
|
|
|
|
2013-03-04 10:22:16 -06:00
|
|
|
<bean id="opsnetSubscriptionRetrievalAgentPrototype"
|
|
|
|
class="com.raytheon.uf.edex.datadelivery.bandwidth.retrieval.SubscriptionRetrievalAgent"
|
|
|
|
scope="prototype">
|
|
|
|
<constructor-arg value="OPSNET" />
|
|
|
|
<constructor-arg value="notifyRetrieval" />
|
|
|
|
<constructor-arg ref="retrievalAgentNotifier" />
|
|
|
|
<constructor-arg value="${bandwidth.default.retrieval.priority}" />
|
|
|
|
<constructor-arg ref="retrievalManager" />
|
|
|
|
<constructor-arg ref="bandwidthDao" />
|
|
|
|
<constructor-arg ref="retrievalDao" />
|
2013-07-10 15:36:00 -05:00
|
|
|
<constructor-arg ref="ProviderHandler" />
|
2013-03-04 10:22:16 -06:00
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="sbnSubscriptionRetrievalAgentPrototype"
|
|
|
|
class="com.raytheon.uf.edex.datadelivery.bandwidth.retrieval.SubscriptionRetrievalAgent"
|
|
|
|
scope="prototype">
|
|
|
|
<constructor-arg value="SBN" />
|
|
|
|
<constructor-arg value="notifyRetrieval" />
|
|
|
|
<constructor-arg ref="retrievalAgentNotifier" />
|
|
|
|
<constructor-arg value="${bandwidth.default.retrieval.priority}" />
|
|
|
|
<constructor-arg ref="retrievalManager" />
|
|
|
|
<constructor-arg ref="bandwidthDao" />
|
|
|
|
<constructor-arg ref="retrievalDao" />
|
2013-07-10 15:36:00 -05:00
|
|
|
<constructor-arg ref="ProviderHandler" />
|
2013-03-04 10:22:16 -06:00
|
|
|
</bean>
|
|
|
|
|
|
|
|
<util:map id="retrievalAgents">
|
2014-02-03 09:26:24 -06:00
|
|
|
<entry key="Retrievals-OPSNET" value-ref="opsnetSubscriptionRetrievalAgentPrototype" />
|
|
|
|
<entry key="Retrievals-SBN" value-ref="sbnSubscriptionRetrievalAgentPrototype" />
|
2013-03-04 10:22:16 -06:00
|
|
|
</util:map>
|
|
|
|
|
2013-02-19 08:23:00 -06:00
|
|
|
</beans>
|