spring-service.xml
1.69 KB
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:p="http://www.springframework.org/schema/p"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd"
default-autowire="byName">
<bean id="websiteClient" class="com.diligrp.website.web.interfaces.WebsiteClient">
<constructor-arg index="0" value="123"></constructor-arg>
<constructor-arg index="1" value="${project.manweb.domain}"></constructor-arg>
</bean>
<bean id="resourceManager" class="com.diligrp.manage.manager.resource.impl.ResourceManagerImpl">
</bean>
<!-- log gathering -->
<bean id="advice" class="com.diligrp.log.util.LogGatherAdvice" >
<constructor-arg name="system" value="权限系统"/>
</bean>
<bean id="pointcut" class="org.springframework.aop.support.annotation.AnnotationMatchingPointcut" factory-method="forMethodAnnotation">
<constructor-arg name="annotationType" value="com.diligrp.log.util.Logging" />
</bean>
<aop:config>
<aop:advisor id="logGatheringAdviser" advice-ref="advice" pointcut-ref="pointcut"/>
</aop:config>
</beans>