awips2/edexOsgi/com.raytheon.uf.edex.registry.ebxml/res/spring/ebxml-subscription.xml
Benjamin Phillippe 84921616bb Issue Implemented Pulling notifications on demand
Change-Id: I1d6debf2e67631708ec8471f50fd2c36b938abaf

Former-commit-id: f0c56cc09d [formerly 9962173468] [formerly bb7e91d673 [formerly 4696a86bd969bebbcc48363bd14fdf6c2234b836]]
Former-commit-id: bb7e91d673
Former-commit-id: 8fe6f260ca
2013-04-30 20:12:05 -05:00

41 lines
No EOL
1.8 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-2.0.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 class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="staticMethod"
value="com.raytheon.uf.common.event.EventBus.register" />
<property name="arguments">
<list>
<ref bean="RegistrySubscriptionManager" />
</list>
</property>
</bean>
</beans>