본문 바로가기 메뉴 바로가기

Practical Accumulation

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Practical Accumulation

검색하기 폼
  • 분류 전체보기 (423)
    • 광고 (0)
    • 업무 폴더 (0)
    • Demos (40)
      • 민원신청 SPA (0)
      • Email Client (14)
      • Shopping mall (9)
      • Football Club (12)
    • Languages (25)
    • Spring (185)
      • Hibernate (27)
      • Spring Basic (45)
      • Spring Security (15)
      • Spring AOP (12)
      • Spring REST (23)
      • Spring Advanced (18)
      • Spring Boot (26)
      • Spring Test (16)
      • Microservice (3)
    • Client Technologies (61)
      • Angular (30)
      • React (19)
      • Bootstrap (9)
      • Thymeleaf (3)
    • Side Technologies (46)
    • Basic (13)
      • Algorithms (10)
      • Data Structure (2)
    • Embedded Systems (2)
    • IT 관련 유용한 것들 (4)
    • 기록 (43)
  • 방명록

Spring/Spring AOP (12)
Spring : AOP with Java Config - @Pointcut annotation

0. 이 포스트는 Spring : AOP with Java Config 시리즈의 연속이다. 1. @Pointcut annotation의 목적은 하나의 point cut expression을 여러 advice 메소드에서 사용하기 위한 것이다. 1-1 즉 여러 개의 advice 메소드를 동일한 조건에서 사용할 경우에 중복을 제거하기 위함이다. 1-2 장점을 나열해 보면 쉬운 재사용, 한 곳에서 수정할 수 있음, 여러 포인트 컷의 공유와 조합이 편리함 2. @Pointcut 메소드를 정의한다. 2-1 아래의 코드의 forDAOPackage메소드는 @Pointcut으로 수식되어 있다. 2-2 단순히 point cut expression의 중복을 줄이기 위해서 사용하였다. 2-3 아래 소스는 예전의 소스와 동일하..

Spring/Spring AOP 2020. 5. 12. 16:01
Spring : AOP with Java Config - Parameter Pattern Wildcards

1. 이 포스트는 Spring AOP with Java Config 의 연장이다. 2. 포인트 컷 정의에서 parameter에 들어갈 pattern을 wildcard를 통해 지정할 수 있다. 2-1 () parameter가 없는 메소드 정의 2-2 (*) 하나의 parameter를 받는데 모든 타입을 다 허용한다. 2-3 (..) 어떤 타입의 parameter형태도 다 허용한다. 3. 각 wild 카드에 해당하는 예제들 3-1 모든 리턴 타입을 허용하는 add로 시작하고 parameter가 없는 메소드를 허용하는 예제 3-1-1 이미 바로 전 포스트에서 보여 주었다. // AOP Advice 클래스 @Aspect @Component public class LoggingAspect { // @Before(..

Spring/Spring AOP 2020. 5. 12. 15:18
Spring : AOP with Java Config - PointCut Expression

0. 이 포스트는 Spring AOP with Java Config 시리즈의 연속된 내용이다. 1. Point Cut Expression은 어떤 메소드가 실행되어야 할지 AOP Proxy가 결정하는데 정보를 제공한다. @Aspect @Component public class LoggingAspect { // @Before(value = "execution(public void addAccount())") @Before(value = "execution(public void pe.pilseong.spring_aop_review.dao.AccountDAO.addAccount())") public void beforeAddAccountAdvice() { System.out.println("\n\nExecuti..

Spring/Spring AOP 2020. 5. 12. 12:47
Spring : AOP with Java Config - 설정하기와 @Before advice

1. 기본적으로 AOP를 테스트하고 사용하기 위한 dependency 1-1 스프링의 기동을 위한 기본 라이브러리 spring core, spring context 1-2 스프링 AOP 사용을 위한 spring aop, aspectj weaver 1-2-1 spring aop이 aspectJ의 일부 annotation과 class를 사용하기 때문에 aspectj가 필요하다. junit junit 4.11 test org.springframework spring-core 5.2.6.RELEASE org.springframework spring-context 5.2.6.RELEASE org.springframework spring-aop 5.2.6.RELEASE org.aspectj aspectjweaver..

Spring/Spring AOP 2020. 5. 11. 22:12
이전 1 2 다음
이전 다음
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • 도커 개발환경 참고
  • AWS ARN 구조
  • Immuability에 관한 설명
  • 자바스크립트 멀티 비동기 함수 호출 참고
  • WSDL 참고
  • SOAP 컨슈머 참고
  • MySql dump 사용법
  • AWS Lambda with Addon
  • NFC 드라이버 linux 설치
  • electron IPC
  • mifare classic 강의
  • go module 관련 상세한 정보
  • C 메모리 찍어보기
  • C++ Addon 마이그레이션
  • JAX WS Header 관련 stackoverflow
  • SOAP Custom Header 설정 참고
  • SOAP Custom Header
  • SOAP BindingProvider
  • dispatcher 사용하여 설정
  • vagrant kvm으로 사용하기
  • git fork, pull request to the …
  • vagrant libvirt bridge network
  • python, js의 async, await의 차이
  • go JSON struct 생성
  • Netflix Kinesis 활용 분석
  • docker credential problem
  • private subnet에서 outbound IP 확…
  • 안드로이드 coroutine
  • kotlin with, apply, also 등
  • 안드로이드 초기로딩이 안되는 경우
  • navigation 데이터 보내기
  • 레이스 컨디션 navController
  • raylib
TAG
  • 하이버네이트
  • RestTemplate
  • crud
  • form
  • 자바
  • Rest
  • Angular
  • one-to-many
  • Validation
  • WebMvc
  • hibernate
  • 스프링부트
  • 로그인
  • login
  • 외부파일
  • 상속
  • MYSQL
  • spring boot
  • Spring
  • Spring Security
  • 매핑
  • Security
  • Many-To-Many
  • 스프링
  • one-to-one
  • 설정하기
  • jsp
  • mapping
  • XML
  • 설정
more
250x250

Blog is powered by Tistory / Designed by Tistory

티스토리툴바