Git Product home page Git Product logo

myaop's Introduction

AOP 용어 정리

타켓(Target)

  • 부가기능을 부여할 대상
  • 어드바이스를 받는 객체

어드바이스(Advice)

  • 타켓에 제공할 부가기능을 가짐
  • 조인 포인트에서 애스팩트에 의해 취해지는 조치

조인 포인트(Join Point)

  • 어드바이스가 적용될 수 있는 위치
  • 타겟 오브젝트가 구현한 인터페이스의 모든 메소드

포인트컷(Pointcut)

  • 어드바이스를 적용할 조인 포인트를 선별하는 작업
  • 메소드 선정 기능
  • Aspect 표현식 사용 (execution..)

애스팩트(Aspect)

  • AOP의 기본 모듈
  • 한 개 이상의 포인트컷 + 어드바이스 조합
  • 싱글톤 형태로 존재

어드바이저(Advisor)

  • 포인트컷 1개 + 어드바이스 1개
  • 어떤 부가기능(Advice)을 어디에(Pointcut) 전달할 것인가

위빙(Weaving)

  • 타겟의 조인포인트에 어드바이스를 적용하는 것

프록시

  • 클라이언트와 타켓 사이에 투명하게 존재하며 부가기능 제공
  • DI를 통해 타켓 대신 클라이언트에 주입
  • 클라이언트의 메소드 호출을 대신 받아 타깃에 위임해주면서 부가기능을 부여

myaop's People

Contributors

uyeonh 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.