2013-01-06 14:32:24 -06:00
|
|
|
<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">
|
2013-03-18 11:49:17 -05:00
|
|
|
|
|
|
|
<bean id="statsDatabaseProperties" class="com.raytheon.uf.edex.database.DatabasePluginProperties">
|
2013-01-06 14:32:24 -06:00
|
|
|
<property name="pluginName" value="stats" />
|
|
|
|
<property name="pluginFQN" value="com.raytheon.uf.common.stats" />
|
|
|
|
<property name="database" value="metadata" />
|
|
|
|
</bean>
|
|
|
|
|
2013-03-18 11:49:17 -05:00
|
|
|
<bean id="statsRegister" factory-bean="dbPluginRegistry"
|
|
|
|
factory-method="register">
|
|
|
|
<constructor-arg value="stats" />
|
|
|
|
<constructor-arg ref="statsDatabaseProperties" />
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="statsHandler" class="com.raytheon.uf.edex.stats.handler.StatsHandler">
|
|
|
|
<property name="statsDao" ref="statsDao" />
|
2013-01-06 14:32:24 -06:00
|
|
|
</bean>
|
|
|
|
|
2013-03-27 17:12:52 -05:00
|
|
|
<bean
|
|
|
|
class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
|
|
|
|
<property name="staticMethod"
|
|
|
|
value="com.raytheon.uf.common.event.EventBus.register" />
|
|
|
|
<property name="arguments">
|
|
|
|
<list>
|
|
|
|
<ref bean="statsHandler" />
|
|
|
|
</list>
|
|
|
|
</property>
|
|
|
|
</bean>
|
|
|
|
|
2013-03-18 11:49:17 -05:00
|
|
|
|
|
|
|
|
|
|
|
<bean id="statsDao" class="com.raytheon.uf.edex.stats.dao.StatsDao">
|
|
|
|
<property name="sessionFactory" ref="metadataSessionFactory" />
|
|
|
|
</bean>
|
2013-01-06 14:32:24 -06:00
|
|
|
</beans>
|