Class AnnotatedTypeScanner
- java.lang.Object
-
- io.contextmap.spring.runtime.reflection.AnnotatedTypeScanner
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.EnvironmentAware,org.springframework.context.ResourceLoaderAware
public class AnnotatedTypeScanner extends Object implements org.springframework.context.ResourceLoaderAware, org.springframework.context.EnvironmentAware
This is a copy of the AnnotatedTypeScanner class in spring-data-commons Which is needed when a component is scanned which does not have any spring-data dependency.
-
-
Constructor Summary
Constructors Constructor Description AnnotatedTypeScanner(boolean considerInterfaces, Class<? extends Annotation>... annotationTypes)AnnotatedTypeScanner(Class<? extends Annotation>... annotationTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Class<?>>findTypes(Iterable<String> basePackages)Set<Class<?>>findTypes(String... basePackages)voidsetEnvironment(org.springframework.core.env.Environment environment)voidsetResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
-
-
-
Constructor Detail
-
AnnotatedTypeScanner
@SafeVarargs public AnnotatedTypeScanner(Class<? extends Annotation>... annotationTypes)
-
AnnotatedTypeScanner
@SafeVarargs public AnnotatedTypeScanner(boolean considerInterfaces, Class<? extends Annotation>... annotationTypes)
-
-
Method Detail
-
setResourceLoader
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
- Specified by:
setResourceLoaderin interfaceorg.springframework.context.ResourceLoaderAware
-
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment)
- Specified by:
setEnvironmentin interfaceorg.springframework.context.EnvironmentAware
-
-