| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
- Quartz
- 줄바꿈 문자
- import
- 단축키
- vscode
- xargs
- Source
- GIT
- VirtualBox
- ssh
- port
- lsof
- profile
- netsh
- resource
- bash
- Windows 10
- JavaScript
- web.xml
- Mac
- grep
- tomcat
- maVen
- plugin
- Eclipse
- Windows
- context
- find
- IntelliJ
- 네트워크
- Today
- Total
목록Dev/Spring (18)
develog
execution(* *..service.*.*(..))=> service 패키지의 모든 클래스의 모든 메소드 execution(* *..*.*Service.*(..))=> Service 클래스의 모든 메소드
import java.util.List; import org.aspectj.lang.JoinPoint;import org.aspectj.lang.Signature;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory; public class LoggingAdvice { private Log logger = LogFactory.getLog(getClass()); public void before(JoinPoint joinPoint) { if (!logger.isDebugEnabled()) return; StringBuffer sb = new StringBuffer(); sb.append(getMethodNm(jo..
solution1, tx:annotation-driven 에 mode="aspectj" 추가solution2, REQUIRES_NEW 사용하는 메소드를 다른 클래스로 이동solution3, solution4, PlatformTransactionManager 사용 참고: http://www.javablog.fr/spring-transaction-visibility-proxy-propagation-required-and-requires_new.html
http://www.springsource.org/download/community
----------------------------------------------------------------------------------------------------------------- package com.my; import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;import org.aspectj.lang.JoinPoint;import org.aspectj.lang.Signature; public class LogAspect { private final Log logger = LogFactory.getLog(getClass()); public void before(JoinPoint join..