Git Product home page Git Product logo

aop's Introduction

스프링 AOP

스프링 AOP 구현

  • v1 - 시작
  • v2 - 포인트컷 분리
  • v3 - 어드바이스 추가
  • v4 - 포인트컷 참조
  • v5 - 어드바이스 순서
  • v6 - 어드바이스 종류

포인트컷

  • execution1
  • execution2
  • within
  • args
  • @target, @within
  • @annotation, @args
  • bean
  • 매개변수 전달
  • this, target

실전 예제

  • 로그 출력 AOP
  • 재시도 AOP

실무 주의사항

  • 프록시와 내부 호출
    • 대안1 자기 자신 주입
    • 대안2 지연조회
    • 대안3 구조 변경
  • 프록시 기술과 한계
    • 타입 캐스팅
    • 의존관계 주입
    • CGLIB
    • 스프링의 해결책

aop's People

Contributors

rivertw777 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.