java.lang.Object | |
↳ | org.springframework.aop.support.annotation.AnnotationMatchingPointcut |
Simple Pointcut that looks for a specific Java 5 annotation
being present on a class
or
method
.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.aop.Pointcut
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new AnnotationMatchingPointcut for the given annotation type.
| |||||||||||
Create a new AnnotationMatchingPointcut for the given annotation type.
| |||||||||||
Create a new AnnotationMatchingPointcut for the given annotation type.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Factory method for an AnnotationMatchingPointcut that matches
for the specified annotation at the class level.
| |||||||||||
Factory method for an AnnotationMatchingPointcut that matches
for the specified annotation at the method level.
| |||||||||||
Return the ClassFilter for this pointcut.
| |||||||||||
Return the MethodMatcher for this pointcut.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.aop.Pointcut
|
Create a new AnnotationMatchingPointcut for the given annotation type.
classAnnotationType | the annotation type to look for at the class level |
---|
Create a new AnnotationMatchingPointcut for the given annotation type.
classAnnotationType | the annotation type to look for at the class level |
---|---|
checkInherited | whether to explicitly check the superclasses and interfaces for the annotation type as well (even if the annotation type is not marked as inherited itself) |
Create a new AnnotationMatchingPointcut for the given annotation type.
classAnnotationType | the annotation type to look for at the class level
(can be null ) |
---|---|
methodAnnotationType | the annotation type to look for at the method level
(can be null )
|
Factory method for an AnnotationMatchingPointcut that matches for the specified annotation at the class level.
annotationType | the annotation type to look for at the class level |
---|
Factory method for an AnnotationMatchingPointcut that matches for the specified annotation at the method level.
annotationType | the annotation type to look for at the method level |
---|
Return the ClassFilter for this pointcut.
null
)
Return the MethodMatcher for this pointcut.
null
)