public class AnnotatedTypeScanner extends ObjectSE implements ResourceLoaderAware, EnvironmentAware
コンストラクターと説明 |
---|
AnnotatedTypeScanner(boolean considerInterfaces, ClassSE<? extends AnnotationSE>... annotationTypes) 指定されたアノテーション型に対して新しい AnnotatedTypeScanner を作成します。 |
AnnotatedTypeScanner(ClassSE<? extends AnnotationSE>... annotationTypes) 指定されたアノテーション型に対して新しい AnnotatedTypeScanner を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
SetSE<ClassSE<?>> | findTypes(IterableSE<StringSE> basePackages) |
SetSE<ClassSE<?>> | findTypes(StringSE... basePackages) |
void | setEnvironment(Environment environment) |
void | setResourceLoader(ResourceLoader resourceLoader) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
@SafeVarargsSE public AnnotatedTypeScanner(ClassSE<? extends AnnotationSE>... annotationTypes)
AnnotatedTypeScanner
を作成します。annotationTypes
- スキャンするアノテーション型。@SafeVarargsSE public AnnotatedTypeScanner(boolean considerInterfaces, ClassSE<? extends AnnotationSE>... annotationTypes)
AnnotatedTypeScanner
を作成します。considerInterfaces
- インターフェースも考慮するかどうか。annotationTypes
- スキャンするアノテーション。public void setResourceLoader(ResourceLoader resourceLoader)
ResourceLoaderAware
の setResourceLoader
public void setEnvironment(Environment environment)
EnvironmentAware
の setEnvironment
public SetSE<ClassSE<?>> findTypes(IterableSE<StringSE> basePackages)
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.