awips2/edexOsgi/com.raytheon.uf.edex.registry.ebxml/res/spring/ebxml-subscription.xml
Benjamin Phillippe 31b53f4ad9 Issue #2534 Added reciprocated registry replication subscriptions
Change-Id: I6844d65ccab6c4246f37ce212fa17af09851da27

Former-commit-id: 2c52a6ee6f7d491d484c423359b8440975ad6d1e
2013-11-27 12:07:59 -06:00

34 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" />
<constructor-arg ref="registryWebServiceClient"/>
</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="queryManager" ref="queryServiceImpl" />
</bean>
<bean name="RegistrySubscriptionManager"
class="com.raytheon.uf.edex.registry.ebxml.services.notification.RegistrySubscriptionManager">
<property name="subscriptionDao" ref="subscriptionTypeDao" />
<property name="notificationManager" ref="RegistryNotificationManager" />
<property name="notificationListenerFactory" ref="notificationListenerFactory" />
</bean>
<bean factory-bean="eventBus" factory-method="register">
<constructor-arg ref="RegistrySubscriptionManager" />
</bean>
</beans>