クラス AnnotatedTypeScanner
java.lang.ObjectSE
org.springframework.data.util.AnnotatedTypeScanner
- 実装済みのインターフェース一覧:
Aware, EnvironmentAware, ResourceLoaderAware
クラスパスにアノテーションが付いている型を見つけるためのスキャナー。
- 作成者:
- Oliver Gierke, Christoph Strobl, Johannes Englmeier
コンストラクター概要
コンストラクターコンストラクター説明AnnotatedTypeScanner(boolean considerInterfaces, ClassSE<? extends AnnotationSE>... annotationTypes) 指定されたアノテーション型に対して新しいAnnotatedTypeScannerを作成します。AnnotatedTypeScanner(boolean considerInterfaces, CollectionSE<ClassSE<? extends AnnotationSE>> annotationTypes) AnnotatedTypeScanner(ClassSE<? extends AnnotationSE>... annotationTypes) 指定されたアノテーション型に対して新しいAnnotatedTypeScannerを作成します。方法の概要
修飾子と型メソッド説明findTypes(IterableSE<StringSE> basePackages) voidsetEnvironment(Environment environment) voidsetResourceLoader(ResourceLoader resourceLoader)
コンストラクターの詳細
AnnotatedTypeScanner
指定されたアノテーション型に対して新しいAnnotatedTypeScannerを作成します。- パラメーター:
annotationTypes- スキャンするアノテーション型。
AnnotatedTypeScanner
@SafeVarargsSE public AnnotatedTypeScanner(boolean considerInterfaces, ClassSE<? extends AnnotationSE>... annotationTypes) 指定されたアノテーション型に対して新しいAnnotatedTypeScannerを作成します。- パラメーター:
considerInterfaces- インターフェースも考慮するかどうか。annotationTypes- スキャンするアノテーション。
AnnotatedTypeScanner
public AnnotatedTypeScanner(boolean considerInterfaces, CollectionSE<ClassSE<? extends AnnotationSE>> annotationTypes) - パラメーター:
considerInterfaces-annotationTypes-- 導入:
- 3.0
メソッドの詳細
setResourceLoader
- 次で指定:
- インターフェース
ResourceLoaderAwareのsetResourceLoader
setEnvironment
- 次で指定:
- インターフェース
EnvironmentAwareのsetEnvironment
findTypes
findTypes