Amend: Peer review comments Change-Id: If2ae3f98a3a04709c2cdc7632ca89f2ee6a5e08d Former-commit-id: b1414f6aebda59cb6d83d1f0d0154fa4cd850953
35 lines
No EOL
1.5 KiB
XML
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-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 factory-bean="eventBus" factory-method="register">
|
|
<constructor-arg ref="RegistrySubscriptionManager" />
|
|
</bean>
|
|
|
|
</beans> |