org.springframework.aop.aspectj
Class AspectJExpressionPointcut.BeanNameContextMatcher
java.lang.Object
org.springframework.aop.aspectj.AspectJExpressionPointcut.BeanNameContextMatcher
- Enclosing class:
- AspectJExpressionPointcut
private class AspectJExpressionPointcut.BeanNameContextMatcher
- extends java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
expressionPattern
private final NamePattern expressionPattern
AspectJExpressionPointcut.BeanNameContextMatcher
public AspectJExpressionPointcut.BeanNameContextMatcher(java.lang.String expression)
couldMatchJoinPointsInType
public boolean couldMatchJoinPointsInType(java.lang.Class someClass)
couldMatchJoinPointsInType
public boolean couldMatchJoinPointsInType(java.lang.Class someClass,
MatchingContext context)
matchesDynamically
public boolean matchesDynamically(MatchingContext context)
matchesStatically
public FuzzyBoolean matchesStatically(MatchingContext context)
mayNeedDynamicTest
public boolean mayNeedDynamicTest()
contextMatch
private FuzzyBoolean contextMatch(java.lang.Class targetType)
matchesBeanName
private boolean matchesBeanName(java.lang.String advisedBeanName)