awips2/edexOsgi/com.raytheon.edex.plugin.pirep/res/spring/pirep-common.xml

25 lines
1.2 KiB
XML
Raw Normal View History

<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="pirepPluginName" class="java.lang.String">
<constructor-arg type="java.lang.String" value="pirep" />
</bean>
<bean id="pirepProperties" class="com.raytheon.uf.common.dataplugin.PluginProperties">
<property name="pluginName" ref="pirepPluginName" />
<property name="pluginFQN" value="com.raytheon.uf.common.dataplugin.pirep" />
<property name="dao" value="com.raytheon.edex.plugin.pirep.dao.PirepDao" />
<property name="record" value="com.raytheon.uf.common.dataplugin.pirep.PirepRecord" />
</bean>
<bean factory-bean="pluginRegistry" factory-method="register">
<constructor-arg value="pirep"/>
<constructor-arg ref="pirepProperties"/>
</bean>
</beans>