awips2/edexOsgi/com.raytheon.uf.edex.registry.ebxml/res/spring/ebxml-subscription.xml
Nate Jensen 3f3e0a788d Issue #1989 update spring xsd references to 3.1, fix ingestDat.sh
Change-Id: I478c31b72267fe7fd3b7a6559de87e8600c3c0c3

Former-commit-id: b7b619e1a3a85ac8c5f22a36317e22e15ad557a2
2013-05-29 14:49:43 -05:00

35 lines
No EOL
1.5 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="notificationListenerFactory"
class="com.raytheon.uf.edex.registry.ebxml.services.notification.NotificationListenerFactory">
<constructor-arg ref="EmailSender" />
</bean>
<bean name="EmailSender"
class="com.raytheon.uf.edex.registry.ebxml.services.notification.EmailSender">
<constructor-arg ref="ebxmlEmailEnabled" />
<constructor-arg ref="extrinsicObjectDao" />
</bean>
<bean name="RegistryNotificationManager"
class="com.raytheon.uf.edex.registry.ebxml.services.notification.RegistryNotificationManager">
<property name="auditableEventDao" ref="AuditableEventTypeDao" />
<property name="notificationDao" ref="notificationTypeDao" />
</bean>
<bean name="RegistrySubscriptionManager"
class="com.raytheon.uf.edex.registry.ebxml.services.notification.RegistrySubscriptionManager">
<constructor-arg ref="ebxmlSubscriptionsEnabled" />
<property name="subscriptionDao" ref="subscriptionTypeDao" />
<property name="queryManager" ref="queryServiceImpl" />
<property name="notificationManager" ref="RegistryNotificationManager" />
<property name="notificationListenerFactory" ref="notificationListenerFactory" />
</bean>
<bean factory-bean="eventBus" factory-method="register">
<constructor-arg ref="RegistrySubscriptionManager" />
</bean>
</beans>