美文网首页
Spring Aop 术语

Spring Aop 术语

作者: 小P_500d | 来源:发表于2022-07-13 18:11 被阅读0次

    advice: advice is a job. there are five kinds of advices used by Spring aspect:Before,After,After-returning,After-throwing,Around.

    join point: multiple number of places in the application to apply advice.such as method call or exception throw

    pointcut: advice is not necessary to apply to all join points in an application, pointcuts can select one or more join points,pointcut is an expression

    aspect: Aspect is a module that encapsulate pointcuts and advice. Aspects know what it dose, where and when it dose in the application

    weaving: a process of applying aspects to a target object by creating new proxy object

    相关文章

      网友评论

          本文标题:Spring Aop 术语

          本文链接:https://www.haomeiwen.com/subject/ccstirtx.html