Amend: Because of the files used specifically for InMemoryBandwidthManagerManager, added the SBN RetrievalPlan back to WFO. Change-Id: Ibebd89a2dd0236c47e8060489eb67bec9fc8d583 Former-commit-id:e308f2a6ee
[formerly b0c2fcb5e802815b886f669b633e516b022b55a3] Former-commit-id:ee4dc7068b
80 lines
No EOL
3.9 KiB
XML
80 lines
No EOL
3.9 KiB
XML
<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-3.1.xsd
|
|
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.1.xsd">
|
|
|
|
<bean id="bandwidthManagerCreator"
|
|
class="com.raytheon.uf.edex.datadelivery.bandwidth.WfoBandwidthManagerCreator" />
|
|
|
|
<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>
|
|
</bean>
|
|
|
|
<util:list id="subscriptionRoutesToSchedule">
|
|
<value>OPSNET</value>
|
|
</util:list>
|
|
|
|
<bean id="bandwidthInitializer"
|
|
class="com.raytheon.uf.edex.datadelivery.bandwidth.hibernate.HibernateBandwidthInitializer">
|
|
<constructor-arg>
|
|
<bean
|
|
class="com.raytheon.uf.edex.datadelivery.bandwidth.util.FindActiveSubscriptionsForRoute">
|
|
<constructor-arg ref="localSubscriptionHandler" />
|
|
<constructor-arg ref="subscriptionRoutesToSchedule" />
|
|
</bean>
|
|
</constructor-arg>
|
|
</bean>
|
|
|
|
<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" />
|
|
<constructor-arg ref="ProviderHandler" />
|
|
<constructor-arg ref="retrievalQueue" />
|
|
</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" />
|
|
<constructor-arg ref="ProviderHandler" />
|
|
<constructor-arg ref="retrievalQueue" />
|
|
</bean>
|
|
|
|
<util:map id="retrievalAgents">
|
|
<entry key="Retrievals-1" value-ref="opsnetSubscriptionRetrievalAgentPrototype" />
|
|
<entry key="Retrievals-2" value-ref="opsnetSubscriptionRetrievalAgentPrototype" />
|
|
<entry key="Retrievals-3" value-ref="opsnetSubscriptionRetrievalAgentPrototype" />
|
|
<entry key="Retrievals-4" value-ref="opsnetSubscriptionRetrievalAgentPrototype" />
|
|
<entry key="Retrievals-5" value-ref="opsnetSubscriptionRetrievalAgentPrototype" />
|
|
<entry key="Retrievals-6" value-ref="sbnSubscriptionRetrievalAgentPrototype" />
|
|
<entry key="Retrievals-7" value-ref="sbnSubscriptionRetrievalAgentPrototype" />
|
|
<entry key="Retrievals-8" value-ref="sbnSubscriptionRetrievalAgentPrototype" />
|
|
<entry key="Retrievals-9" value-ref="sbnSubscriptionRetrievalAgentPrototype" />
|
|
<entry key="Retrievals-10" value-ref="sbnSubscriptionRetrievalAgentPrototype" />
|
|
</util:map>
|
|
|
|
</beans> |