类 AspectJExpressionPointcut.BeanContextMatcher

java.lang.Object
infra.aop.aspectj.AspectJExpressionPointcut.BeanContextMatcher
所有已实现的接口:
org.aspectj.weaver.tools.ContextBasedMatcher
封闭类:
AspectJExpressionPointcut

private class AspectJExpressionPointcut.BeanContextMatcher extends Object implements org.aspectj.weaver.tools.ContextBasedMatcher
Matcher class for the BeanNamePointcutDesignatorHandler.

Dynamic match tests for this matcher always return true, since the matching decision is made at the proxy creation time. For static match tests, this matcher abstains to allow the overall pointcut to match even when negation is used with the bean() pointcut.

  • 字段详细资料

    • expressionPattern

      private final org.aspectj.weaver.patterns.NamePattern expressionPattern
  • 构造器详细资料

    • BeanContextMatcher

      public BeanContextMatcher(String expression)
  • 方法详细资料

    • couldMatchJoinPointsInType

      public boolean couldMatchJoinPointsInType(Class someClass)
      指定者:
      couldMatchJoinPointsInType 在接口中 org.aspectj.weaver.tools.ContextBasedMatcher
    • couldMatchJoinPointsInType

      public boolean couldMatchJoinPointsInType(Class someClass, org.aspectj.weaver.tools.MatchingContext context)
      指定者:
      couldMatchJoinPointsInType 在接口中 org.aspectj.weaver.tools.ContextBasedMatcher
    • matchesDynamically

      public boolean matchesDynamically(org.aspectj.weaver.tools.MatchingContext context)
      指定者:
      matchesDynamically 在接口中 org.aspectj.weaver.tools.ContextBasedMatcher
    • matchesStatically

      public org.aspectj.weaver.tools.FuzzyBoolean matchesStatically(org.aspectj.weaver.tools.MatchingContext context)
      指定者:
      matchesStatically 在接口中 org.aspectj.weaver.tools.ContextBasedMatcher
    • mayNeedDynamicTest

      public boolean mayNeedDynamicTest()
      指定者:
      mayNeedDynamicTest 在接口中 org.aspectj.weaver.tools.ContextBasedMatcher
    • contextMatch

      private org.aspectj.weaver.tools.FuzzyBoolean contextMatch(@Nullable Class<?> targetType)
    • matchesBean

      private boolean matchesBean(String advisedBeanName)