2013-03-27 17:12:52 -05: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
|
2012-11-26 18:13:13 -06:00
|
|
|
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
|
|
|
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
2013-03-27 17:12:52 -05:00
|
|
|
<bean id="logHandler" class="com.raytheon.uf.edex.event.handler.LogHandler" />
|
|
|
|
<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="logHandler" />
|
|
|
|
</list>
|
|
|
|
</property>
|
|
|
|
</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>
|
2012-11-26 18:13:13 -06:00
|
|
|
</beans>
|