awips2/edexOsgi/com.raytheon.edex.plugin.grib/res/spring/grib-common.xml
root 8e80217e59 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: a02aeb236c [formerly 9f19e3f712] [formerly 06a8b51d6d [formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]
Former-commit-id: 06a8b51d6d
Former-commit-id: 3360eb6c5f
2012-01-06 08:55:05 -06:00

47 lines
No EOL
2.3 KiB
XML

<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:amq="http://activemq.apache.org/schema/core" 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://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<bean id="gribPathProvider" class="com.raytheon.uf.common.dataplugin.grib.GribPathProvider" />
<bean id="gribProperties" class="com.raytheon.uf.common.dataplugin.PluginProperties">
<property name="pluginName" value="grib" />
<property name="pluginFQN" value="com.raytheon.uf.common.dataplugin.grib" />
<property name="dao" value="com.raytheon.edex.plugin.grib.dao.GribDao" />
<property name="record" value="com.raytheon.uf.common.dataplugin.grib.GribRecord" />
<property name="initializer"
value="com.raytheon.edex.plugin.grib.GribInitializer" />
<property name="dependencyFQNs">
<list>
<value>com.raytheon.uf.common.dataplugin.level</value>
</list>
</property>
<property name="pathProvider">
<ref bean="gribPathProvider"/>
</property>
<property name="compression" value="LZF"/>
</bean>
<bean id="gribRegistered" factory-bean="pluginRegistry" factory-method="register"
depends-on="levelRegistered">
<constructor-arg value="grib"/>
<constructor-arg ref="gribProperties"/>
</bean>
<bean id="gribModelCache"
class="com.raytheon.edex.plugin.grib.util.GribModelCache" factory-method="getInstance" />
<bean id="LatLonDao" class="com.raytheon.edex.plugin.grib.dao.LatLonDao" />
<bean id="MercatorDao" class="com.raytheon.edex.plugin.grib.dao.MercatorDao" />
<bean id="PolarStereographicDao" class="com.raytheon.edex.plugin.grib.dao.PolarStereoDao" />
<bean id="LambertConformalDao" class="com.raytheon.edex.plugin.grib.dao.LambertConformalDao" />
<camelContext id="grib-common-camel" xmlns="http://camel.apache.org/schema/spring"
errorHandlerRef="errorHandler">
<route id="purgeGribModelCache">
<from uri="jms-generic:topic:purgeGribModelCache" />
<bean ref="gribModelCache" method="purgeCache" />
</route>
</camelContext>
</beans>