8be044ec7e987fabed3e068f4292842b98480161.svn-base 3.4 KB
<?xml version="1.0" encoding="UTF-8"?>
<!--
	共有方法,负责所有共有配置文件
-->
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:aop="http://www.springframework.org/schema/aop"
	xmlns:tx="http://www.springframework.org/schema/tx"
	xsi:schemaLocation="
			http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
			http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
			http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">

	<!-- 点击service-->
	<bean id="yxyreadservice" class="yxy.timer.service.impl.YxyReadServiceImpl">
		<!-- 点击信息DAO -->
		<property name="yxyreaddao">
			<ref bean="yxyreaddao"/>
		</property>	
		<!-- 退订信息DAO -->
		<property name="yxyunsubscribedao">
			<ref bean="yxyunsubscribedao"/>
		</property>	
		<!-- 今日点击信息DAO -->
		<property name="yxydayreaddao">
			<ref bean="yxydayreaddao"/>
		</property>	
		<property name="yxymailnumcountdao">
			<ref bean="yxymailnumcountdao"/>
		</property>	
		<property name="yxyreadinfosaledao" ref="yxyreadinfosaledao"></property>
		<property name="yxyunsubscribeinfosaledao" ref="yxyunsubscribeinfosaledao"></property>
		<property name="yxymailnumcountinfosaledao" ref="yxymailnumcountinfosaledao"></property>
	</bean>

	<!-- 地址service-->
	<bean id="yxyaddressservice" class="yxy.timer.service.impl.YxyAddressServiceImpl">
		
		<!-- 用户设置DAO -->
		<property name="yxyusersetdao">
			<ref bean="yxyusersetdao"/>
		</property>	
		
		<!-- 用户地址DAO -->
		<property name="yxyuseraddressdao">
			<ref bean="yxyuseraddressdao"/>
		</property>
		
		<!-- 待发地址DAO -->
		<property name="yxysendmaildetaildao">
			<ref bean="yxysendmaildetaildao"/>
		</property>
		
	</bean>
	
	<!-- 回复service-->
	<bean id="yxyreplyinfoservice" class="yxy.timer.service.impl.YxyReplyInfoServiceImpl">
		<property name="yxyreplyinfodao">
			<ref bean="yxyreplyinfodao"/>
		</property>	
		<property name="yxymailnumcountdao">
			<ref bean="yxymailnumcountdao"/>
		</property>	
	</bean>
	
	<!-- 待发邮件service-->
	<bean id="yxysendmailmasterservice" class="yxy.timer.service.impl.YxySendMailMasterServiceImpl">
		
		<!-- 待发邮件DAO -->
		<property name="yxysendmailmasterdao">
			<ref bean="yxysendmailmasterdao"/>
		</property>	
		
	</bean>
	
	<!-- 邮件签名service -->
	<bean id="yxywebmailservice" class="yxy.timer.service.impl.YxyWebmailServiceImpl">
		<property name="yxywebmaildao">
			<ref bean="yxywebmaildao"/>
		</property>
	</bean>
	
	
	<!-- 控制参数service-->
	<bean id="yxysysparamaterservice" class="yxy.timer.service.impl.YxySysParamaterServiceImpl">
		<!-- 参数DAO -->
		<property name="yxysysparamaterdao">
			<ref bean="yxysysparamaterdao"/>
		</property>	
		<!-- 参数值DAO -->
		<property name="yxysysparamatersvaluedao">
			<ref bean="yxysysparamatersvaluedao"/>
		</property>		
	</bean>
	
	<!-- 链接详情service -->
	<bean id="yxylinkinfoservice" class="yxy.timer.service.impl.YxyLinkInfoServiceImpl">
		<property name="yxylinkinfodao">
			<ref bean="yxylinkinfodao"/>
		</property>
		<property name="yxymailnumcountdao">
			<ref bean="yxymailnumcountdao"/>
		</property>
		<property name="yxylinkinfosaledao" ref="yxylinkinfosaledao"></property>
		<property name="yxymailnumcountinfosaledao" ref="yxymailnumcountinfosaledao"></property>
	</bean>
</beans>