awips2/edexOsgi/com.raytheon.uf.edex.plugin.goesr.dmw/res/spring/dmw-common.xml

38 lines
No EOL
1.7 KiB
XML

<!-- TOWRdocs Header
Configuration file handling the common Spring declaration/instantiations of DMW Plugin
Java instances.
-->
<!-- TOWRdocs Description
This configuration file handles the definition and instantiation of instances of
DMW Plugin Java objects. The objects defined in this file may be referenced in subsequent Spring
configuration files. In this file we define the plugin-name (String), various default properties of the
plugin (name, FQN, dao Class, record Class), and register the plugin with the Plugin Registry
-->
<!-- TOWRdocs Status
This file is a baseline file for the GOES-R Derived Motion Winds (DMW) plugin.
-->
<!-- TOWRdocs POC
Matt Comerford.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
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">
<bean id="dmwPluginName" class="java.lang.String">
<constructor-arg type="java.lang.String" value="dmw" />
</bean>
<bean id="dmwProperties" class="com.raytheon.uf.common.dataplugin.PluginProperties">
<property name="pluginName" ref="dmwPluginName" />
<property name="pluginFQN" value="com.raytheon.uf.common.dataplugin.goesr.dmw" />
<property name="dao" value="com.raytheon.uf.edex.plugin.goesr.dmw.dao.DMWDao" />
<property name="record" value="com.raytheon.uf.common.dataplugin.goesr.dmw.DMWRecord" />
</bean>
<bean factory-bean="pluginRegistry" factory-method="register">
<constructor-arg ref="dmwPluginName"/>
<constructor-arg ref="dmwProperties"/>
</bean>
</beans>