|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:tx="http://www.springframework.org/schema/tx"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
|
xmlns:aop="http://www.springframework.org/schema/aop"
|
|
xsi:schemaLocation="
|
|
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
|
|
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
|
|
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.1.xsd
|
|
http://www.springframework.org/schema/aop
|
|
http://www.springframework.org/schema/aop/spring-aop.xsd">
|
|
|
|
<!-- spring context -->
|
|
<context:annotation-config />
|
|
|
|
<!-- config utils -->
|
|
<bean id="DWApplicationConfigUtils" class="com.digiwin.app.common.DWApplicationConfigUtils" />
|
|
|
|
<!-- service log -->
|
|
<bean class="com.digiwin.app.container.ServicePublicMethodLogInterceptor" id="serviceInputOutputInterceptor"/>
|
|
<!-- service input out aop -->
|
|
<aop:config proxy-target-class="true">
|
|
<aop:pointcut expression="execution(* com.digiwin.athena.app.service..*.*(..))" id="apiInputOutPointCut"/>
|
|
<aop:advisor advice-ref="serviceInputOutputInterceptor" pointcut-ref="apiInputOutPointCut" order="10"/>
|
|
</aop:config>
|
|
</beans>
|