awips2/edexOsgi/com.raytheon.edex.plugin.obs/res/spring/obs-common.xml
Dave Hladky ddb23ae59f Issue #1796 Resurrected DPA code from old 5-DataDelviery repo, merged with current development!
Change-Id: I71b56de45f61bef15c03ee4fc3f45790c59b527d

Former-commit-id: a52596494feb2255269513a3cd19490628d4ae10
2013-03-19 13:08:14 -05:00

23 lines
No EOL
1.2 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="obsPluginName" class="java.lang.String">
<constructor-arg type="java.lang.String" value="obs" />
</bean>
<bean id="obsProperties" class="com.raytheon.uf.common.dataplugin.PluginProperties">
<property name="pluginName" ref="obsPluginName" />
<property name="pluginFQN" value="com.raytheon.uf.common.dataplugin.obs" />
<property name="dao" value="com.raytheon.edex.plugin.obs.ObsDao" />
<property name="record" value="com.raytheon.uf.common.dataplugin.obs.metar.MetarRecord" />
</bean>
<bean id="registerObsPlugin" factory-bean="pluginRegistry" factory-method="register">
<constructor-arg ref="obsPluginName"/>
<constructor-arg ref="obsProperties"/>
</bean>
</beans>