awips2/edexOsgi/com.raytheon.uf.edex.datadelivery.event/res/spring/event-datadelivery.xml
Nate Jensen 00fbfbe7e5 Issue #1989 remove unused schemas
Change-Id: Ia040164481647fc384a264cd2126b8f9438df594

Former-commit-id: fc691cbb2f [formerly f3258e77f7 [formerly b0ad25ccd9e20b6bf994a3a46ce38298c363adff]]
Former-commit-id: f3258e77f7
Former-commit-id: 740237c317
2013-05-29 16:19:28 -05:00

58 lines
No EOL
2.6 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="getNotificationHandler"
class="com.raytheon.uf.edex.datadelivery.event.handler.GetNotificationHandler">
<property name="notificationDao" ref="notificationDao" />
</bean>
<bean factory-bean="handlerRegistry" factory-method="register">
<constructor-arg
value="com.raytheon.uf.common.datadelivery.event.notification.GetNotificationRequest" />
<constructor-arg ref="getNotificationHandler" />
</bean>
<bean id="deleteNotificationHandler"
class="com.raytheon.uf.edex.datadelivery.event.handler.DeleteNotificationHandler">
<constructor-arg type="java.lang.String" value="jms-generic:topic:notify.msg" />
<property name="notificationDao" ref="notificationDao" />
</bean>
<bean factory-bean="handlerRegistry" factory-method="register">
<constructor-arg
value="com.raytheon.uf.common.datadelivery.event.notification.DeleteNotificationRequest" />
<constructor-arg ref="deleteNotificationHandler" />
</bean>
<bean id="subscriptionNotificationHandler"
class="com.raytheon.uf.edex.datadelivery.event.handler.SubscriptionNotificationHandler">
<constructor-arg type="java.lang.String" value="jms-generic:topic:notify.msg" />
<property name="notificationDao" ref="notificationDao" />
</bean>
<bean factory-bean="handlerRegistry" factory-method="register">
<constructor-arg
value="com.raytheon.uf.common.datadelivery.service.SubscriptionNotificationRequest" />
<constructor-arg ref="subscriptionNotificationHandler" />
</bean>
<bean factory-bean="handlerRegistry" factory-method="register">
<constructor-arg
value="com.raytheon.uf.common.datadelivery.service.ApprovedPendingSubscriptionNotificationRequest" />
<constructor-arg ref="subscriptionNotificationHandler" />
</bean>
<bean factory-bean="handlerRegistry" factory-method="register">
<constructor-arg
value="com.raytheon.uf.common.datadelivery.service.DeniedPendingSubscriptionNotificationRequest" />
<constructor-arg ref="subscriptionNotificationHandler" />
</bean>
<bean factory-bean="handlerRegistry" factory-method="register">
<constructor-arg
value="com.raytheon.uf.common.datadelivery.service.PendingSubscriptionNotificationRequest" />
<constructor-arg ref="subscriptionNotificationHandler" />
</bean>
<bean id="notificationDao"
class="com.raytheon.uf.edex.datadelivery.event.notification.NotificationDao">
<property name="sessionFactory" ref="metadataSessionFactory" />
</bean>
</beans>