Class 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.
    • Method Detail

      • setResourceLoader

        public void setResourceLoader​(org.springframework.core.io.ResourceLoader resourceLoader)
        Specified by:
        setResourceLoader in interface org.springframework.context.ResourceLoaderAware
      • setEnvironment

        public void setEnvironment​(org.springframework.core.env.Environment environment)
        Specified by:
        setEnvironment in interface org.springframework.context.EnvironmentAware
      • findTypes

        public Set<Class<?>> findTypes​(String... basePackages)