java.lang.Object | |
↳ | org.springframework.aop.support.ControlFlowPointcut |
Pointcut and method matcher for use in simple cflow-style pointcut. Note that evaluating such pointcuts is 10-15 times slower than evaluating normal pointcuts, but they are useful in some cases.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.aop.ClassFilter
| |||||||||||
From interface
org.springframework.aop.MethodMatcher
| |||||||||||
From interface
org.springframework.aop.Pointcut
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new pointcut that matches all control flows below that class.
| |||||||||||
Construct a new pointcut that matches all calls below the
given method in the given class.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the ClassFilter for this pointcut.
| |||||||||||
It's useful to know how many times we've fired, for optimization.
| |||||||||||
Return the MethodMatcher for this pointcut.
| |||||||||||
Is this MethodMatcher dynamic, that is, must a final call be made on the
matches(java.lang.reflect.Method, Class, Object[]) method at
runtime even if the 2-arg matches method returns true ?
Can be invoked when an AOP proxy is created, and need not be invoked again before each method invocation, | |||||||||||
Subclasses can override this if it's possible to filter out
some candidate classes.
| |||||||||||
Subclasses can override this for greater filtering (and performance).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.aop.ClassFilter
| |||||||||||
From interface
org.springframework.aop.MethodMatcher
| |||||||||||
From interface
org.springframework.aop.Pointcut
|
Construct a new pointcut that matches all control flows below that class.
clazz | the clazz |
---|
Construct a new pointcut that matches all calls below the given method in the given class. If the method name is null, matches all control flows below that class.
clazz | the clazz |
---|---|
methodName | the name of the method |
Return the ClassFilter for this pointcut.
null
)
It's useful to know how many times we've fired, for optimization.
Return the MethodMatcher for this pointcut.
null
)
Is this MethodMatcher dynamic, that is, must a final call be made on the
matches(java.lang.reflect.Method, Class, Object[])
method at
runtime even if the 2-arg matches method returns true
?
Can be invoked when an AOP proxy is created, and need not be invoked again before each method invocation,
matches(java.lang.reflect.Method, Class, Object[])
method
is required if static matching passed
Subclasses can override this if it's possible to filter out some candidate classes.
Subclasses can override this for greater filtering (and performance).