Update of
/var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/webapp/WEB-INF
In directory
james.mmbase.org:/tmp/cvs-serv27209/portlets-newsletter/src/webapp/WEB-INF
Modified Files:
spring-newsletter.xml
Log Message:
CMSC-818 move service initial to spring.
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/webapp/WEB-INF
See also: http://www.mmbase.org/jira/browse/CMSC-818
Index: spring-newsletter.xml
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/webapp/WEB-INF/spring-newsletter.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- spring-newsletter.xml 7 May 2008 02:54:40 -0000 1.3
+++ spring-newsletter.xml 7 May 2008 05:58:37 -0000 1.4
@@ -22,10 +22,19 @@
<bean name="subscriptionCAO"
class="com.finalist.newsletter.cao.impl.NewsletterSubscriptionCAOImpl"
lazy-init="true">
<property name="cloud" ref="cloud"/>
</bean>
+
+
+ <bean name="publicationCAOImpl"
class="com.finalist.newsletter.cao.impl.NewsletterPublicationCAOImpl"
+ lazy-init="true">
+ <property name="cloud" ref="cloud"/>
+ </bean>
<bean name="newsletterCAO"
class="com.finalist.newsletter.cao.impl.NewsletterCAOImpl" lazy-init="true">
<property name="cloud" ref="cloud"/>
</bean>
-
+ <bean name="statisticCAOImpl"
class="com.finalist.newsletter.cao.impl.NewsLetterStatisticCAOImpl"
lazy-init="true">
+ <property name="cloud" ref="cloud"/>
+ </bean>
+ <bean name="publisher"
class="com.finalist.newsletter.publisher.NewsletterPublisher" lazy-init="true"/>
<!-- Services -->
<bean id="subscriptionServices"
class="com.finalist.newsletter.services.impl.NewsletterSubscriptionServicesImpl"
lazy-init="true">
@@ -42,6 +51,18 @@
<property name="subscriptionServices" ref="subscriptionServices"/>
</bean>
+ <bean id="publicationService"
+
class="com.finalist.newsletter.services.impl.NewsletterPublicationServiceImpl"
lazy-init="true">
+ <property name="subscriptionCAO" ref="subscriptionCAO"/>
+ <property name="statisticCAO" ref="statisticCAOImpl"/>
+ <property name="publicationCAO" ref="publicationCAOImpl"/>
+ <property name="publisher" ref="publisher"/>
+ </bean>
+ <bean id="statisticService"
+ class="com.finalist.newsletter.services.impl.StatisticServiceImpl"
lazy-init="true">
+ <property name="newLettercao" ref="newsletterCAO"/>
+ <property name="statisticcao" ref="statisticCAOImpl"/>
+ </bean>
<!-- Services Holder-->
<bean id="contextHolder"
class="com.finalist.newsletter.ApplicationContextFactory"/>
</beans>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs