クラス 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 を作成します。メソッドのサマリー
修飾子と型メソッド説明booleanstatic AnnotationMatchingPointcutforClassAnnotation(ClassSE<? extends AnnotationSE> annotationType) クラスレベルで指定されたアノテーションと一致する AnnotationMatchingPointcut のファクトリメソッド。static AnnotationMatchingPointcutforMethodAnnotation(ClassSE<? extends AnnotationSE> annotationType) メソッドレベルで指定されたアノテーションに一致する AnnotationMatchingPointcut のファクトリメソッド。このポイントカットの ClassFilter を返します。このポイントカットの MethodMatcher を返します。inthashCode()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