awips2/edexOsgi/com.raytheon.uf.edex.event/res/spring/event-common.xml

16 lines
759 B
XML
Raw Normal View History

<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="logHandler" class="com.raytheon.uf.edex.event.handler.LogHandler" />
<bean factory-bean="eventBus" factory-method="register">
<constructor-arg ref="logHandler" />
</bean>
<bean id="eventPublishHandler" class="com.raytheon.uf.edex.event.handler.EventPublishHandler" />
<bean factory-bean="handlerRegistry" factory-method="register">
<constructor-arg value="com.raytheon.uf.common.event.EventPublishRequest" />
<constructor-arg ref="eventPublishHandler" />
</bean>
</beans>