inblog logo
|
codingb
    Spring

    JoinPoint와 PointCut

    coding S's avatar
    coding S
    Apr 19, 2024
    JoinPoint와 PointCut

    [ JoinPoint ]

    프로그램이 실행되는 동안 일어나는 특정 지점. 예를 들어, 어떤 메소드가 호출되거나 끝날 때 그 지점이 바로 JoinPoint

    [ PointCut ]

    JoinPoint 중에서 실제로 추가 기능(Advice)을 적용할 위치를 지정하는 것. 즉, 여러 JoinPoint 중에서 특정 조건에 맞는 지점만 골라내는 필터 같은 역할
    💡
    JoinPoint는 프로그램 실행 중 특정 지점을 나타내고, PointCut은 그 지점들 중에서 어디에 추가 기능을 적용할지 고르는 기준이다.
    Share article

    codingb

    RSS·Powered by Inblog