mjon_git/target/classes/egovframework/spring/com/context-syslogaop.xml
2023-06-12 11:15:02 +09:00

34 lines
1.8 KiB
XML

<?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"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd">
<!-- System Log Aspect -->
<bean id="logManage" class="itn.let.sym.log.clg.service.EgovLoginLogAspect" />
<aop:config>
<aop:aspect id="logManageAspect" ref="logManage">
<!-- 로그인 Method -->
<aop:before pointcut="execution(public * itn.let.uat.uia.service.EgovLoginService.actionLogin(..))" method="logLogin" />
<!-- 로그아웃 Method
<aop:before pointcut="execution(public * itn.let.uat.uia.web.EgovLoginController.actionLogout(..))" method="logLogout" />
-->
</aop:aspect>
</aop:config>
<!-- System Log Aspect -->
<!-- <bean id="syslog" class="itn.let.sym.log.lgm.service.EgovSysLogAspect" />
<aop:config>
<aop:aspect id="sysLogAspect" ref="syslog"> -->
<!-- insert로 시작되는 service Method -->
<!-- <aop:around pointcut="execution(public * itn.com..impl.*Impl.insert*(..))" method="logInsert" /> -->
<!-- update로 시작되는 service Method -->
<!-- <aop:around pointcut="execution(public * itn.com..impl.*Impl.update*(..))" method="logUpdate" /> -->
<!-- delete로 시작되는 service Method -->
<!-- <aop:around pointcut="execution(public * itn.com..impl.*Impl.delete*(..))" method="logDelete" /> -->
<!-- select로 시작되는 service Method -->
<!-- <aop:around pointcut="execution(public * itn.com..impl.*Impl.select*(..))" method="logSelect" /> -->
<!-- 관리자 로그를 위한 메소드 -->
<!-- </aop:aspect>
</aop:config> -->
</beans>