クラス AnnotationMatchingPointcut
java.lang.ObjectSE
org.springframework.aop.support.annotation.AnnotationMatchingPointcut
- 実装されたすべてのインターフェース:
Pointcut
- 導入:
- 2.0
- 作成者:
- Juergen Hoeller, Sam Brannen
- 関連事項:
フィールドのサマリー
コンストラクターのサマリー
コンストラクターコンストラクター説明AnnotationMatchingPointcut
(ClassSE<? extends AnnotationSE> classAnnotationType) 指定されたアノテーション型の新しい AnnotationMatchingPointcut を作成します。AnnotationMatchingPointcut
(ClassSE<? extends AnnotationSE> classAnnotationType, boolean checkInherited) 指定されたアノテーション型の新しい AnnotationMatchingPointcut を作成します。AnnotationMatchingPointcut
(ClassSE<? extends AnnotationSE> classAnnotationType, ClassSE<? extends AnnotationSE> methodAnnotationType) 指定されたアノテーション型の新しい AnnotationMatchingPointcut を作成します。AnnotationMatchingPointcut
(ClassSE<? extends AnnotationSE> classAnnotationType, ClassSE<? extends AnnotationSE> methodAnnotationType, boolean checkInherited) 指定されたアノテーション型の新しい AnnotationMatchingPointcut を作成します。メソッドのサマリー
修飾子と型メソッド説明boolean
static AnnotationMatchingPointcut
forClassAnnotation
(ClassSE<? extends AnnotationSE> annotationType) クラスレベルで指定されたアノテーションと一致する AnnotationMatchingPointcut のファクトリメソッド。static AnnotationMatchingPointcut
forMethodAnnotation
(ClassSE<? extends AnnotationSE> annotationType) メソッドレベルで指定されたアノテーションに一致する AnnotationMatchingPointcut のファクトリメソッド。このポイントカットの ClassFilter を返します。このポイントカットの MethodMatcher を返します。int
hashCode()
toString()
コンストラクターの詳細
AnnotationMatchingPointcut
指定されたアノテーション型の新しい AnnotationMatchingPointcut を作成します。- パラメーター:
classAnnotationType
- クラスレベルで検索するアノテーション型
AnnotationMatchingPointcut
public AnnotationMatchingPointcut(ClassSE<? extends AnnotationSE> classAnnotationType, boolean checkInherited) 指定されたアノテーション型の新しい AnnotationMatchingPointcut を作成します。- パラメーター:
classAnnotationType
- クラスレベルで検索するアノテーション型checkInherited
- スーパークラスとインターフェース、およびアノテーション型のメタアノテーションもチェックするかどうか- 関連事項:
AnnotationMatchingPointcut
public AnnotationMatchingPointcut(@Nullable ClassSE<? extends AnnotationSE> classAnnotationType, @Nullable ClassSE<? extends AnnotationSE> methodAnnotationType) 指定されたアノテーション型の新しい AnnotationMatchingPointcut を作成します。- パラメーター:
classAnnotationType
- クラスレベルで検索するアノテーション型 (null
にすることができます)methodAnnotationType
- メソッドレベルで検索するアノテーション型 (null
にすることができます)
AnnotationMatchingPointcut
public AnnotationMatchingPointcut(@Nullable ClassSE<? extends AnnotationSE> classAnnotationType, @Nullable ClassSE<? extends AnnotationSE> methodAnnotationType, boolean checkInherited) 指定されたアノテーション型の新しい AnnotationMatchingPointcut を作成します。- パラメーター:
classAnnotationType
- クラスレベルで検索するアノテーション型 (null
にすることができます)methodAnnotationType
- メソッドレベルで検索するアノテーション型 (null
にすることができます)checkInherited
- スーパークラスとインターフェース、およびアノテーション型のメタアノテーションもチェックするかどうか- 導入:
- 5.0
- 関連事項:
メソッドの詳細
getClassFilter
インターフェースからコピーされた説明:Pointcut
このポイントカットの ClassFilter を返します。- 次で指定:
- インターフェース
Pointcut
のgetClassFilter
- 戻り値:
- ClassFilter (非
null
)
getMethodMatcher
インターフェースからコピーされた説明:Pointcut
このポイントカットの MethodMatcher を返します。- 次で指定:
- インターフェース
Pointcut
のgetMethodMatcher
- 戻り値:
- MethodMatcher (非
null
)
equals
hashCode
public int hashCode()toString
forClassAnnotation
public static AnnotationMatchingPointcut forClassAnnotation(ClassSE<? extends AnnotationSE> annotationType) クラスレベルで指定されたアノテーションと一致する AnnotationMatchingPointcut のファクトリメソッド。- パラメーター:
annotationType
- クラスレベルで検索するアノテーション型- 戻り値:
- 対応する AnnotationMatchingPointcut
forMethodAnnotation
public static AnnotationMatchingPointcut forMethodAnnotation(ClassSE<? extends AnnotationSE> annotationType) メソッドレベルで指定されたアノテーションに一致する AnnotationMatchingPointcut のファクトリメソッド。- パラメーター:
annotationType
- メソッドレベルで検索するアノテーション型- 戻り値:
- 対応する AnnotationMatchingPointcut