Annotation Interface PostAutoConfigurationImport


@Target(TYPE) @Retention(RUNTIME) @Documented @Import(PostAutoConfigurationDefferedImportSelector.class) public @interface PostAutoConfigurationImport
Loads the given set of classes after Spring's EnableAutoConfiguration. This must be added to an @Configuration class that is within a normal component-scan, but the given class to be imported must not be component-scanned.
Author:
Phillip Verheyden (phillipuniverse)
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<?>[]
    The classes that should be imported after Spring's EnableAutoConfiguration classes.
  • Element Details

    • value

      Class<?>[] value
      The classes that should be imported after Spring's EnableAutoConfiguration classes. Classes passed in here must be excluded from any component scans or other Imports, and should be annotated with @PostAutoConfiguration