Last active
December 17, 2015 18:39
-
-
Save mocyuto/5655230 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<beans:beans xmlns:beans="http://www.springframework.org/schema/beans" | |
xmlns:context="http://www.springframework.org/schema/context" | |
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-3.2.xsd"> | |
<context:component-scan base-package="jp.co.axiz.app" /> | |
<!-- ================================================================ AOP --> | |
<!-- トレースログ用Advice --> | |
<beans:bean id="traceAdvice" class="jp.co.axiz.aop.TraceAdvice" /> | |
<!-- AOP Setting --> | |
<aop:config> | |
<aop:aspect id="traceAspect" ref="traceAdvice"> | |
<aop:pointcut id="tracePointcut" expression="execution(* isAllowLogin(..))" /> | |
<aop:around method="traceAround" pointcut-ref="tracePointcut" /> | |
</aop:aspect> | |
</aop:config> | |
</beans:beans> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment