awips2/edexOsgi/com.raytheon.uf.edex.datadelivery.event/res/spring/system-status-datadelivery.xml
Mike Duff 1ca50d2c4f Issue #1655 - Implement the framework for DD system status messaging
Change-Id: I621cd07fdf6a742b0af4408dad534844d08e9e55

Former-commit-id: 2c98a91d05 [formerly 4f51d50f9d6ea76f3b2cb2e828c6b6f8e192fb38]
Former-commit-id: 7acfe076a0
2013-07-17 08:55:27 -05:00

24 lines
No EOL
1.2 KiB
XML

<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="statusDao" class="com.raytheon.uf.edex.datadelivery.event.dao.DataDeliverySystemStatusDao">
<property name="sessionFactory" ref="metadataSessionFactory" />
</bean>
<bean id="systemStatusHandler" class="com.raytheon.uf.edex.datadelivery.event.handler.SystemStatusRequestHandler" >
<property name="statusDao" ref="statusDao" />
</bean>
<bean factory-bean="handlerRegistry" factory-method="register">
<constructor-arg value="com.raytheon.uf.common.datadelivery.event.status.SystemStatusRequest"/>
<constructor-arg ref="systemStatusHandler"/>
</bean>
<bean id="systemStatusEventBusHandler" class="com.raytheon.uf.edex.datadelivery.event.handler.SystemStatusEventBusHandler">
<property name="statusDao" ref="statusDao" />
</bean>
<bean factory-bean="eventBus" factory-method="register">
<constructor-arg ref="systemStatusEventBusHandler" />
</bean>
</beans>