Annotation Type AutoConfigureAfter


@Retention(RUNTIME) @Target(TYPE) @Documented public @interface AutoConfigureAfter
Hint for that an auto-configuration should be applied after other specified auto-configuration classes.

As with standard @Configuration classes, the order in which auto-configuration classes are applied only affects the order in which their beans are defined. The order in which those beans are subsequently created is unaffected and is determined by each bean's dependencies and any @DependsOn relationships.

Since:
1.0.0
Author:
Phillip Webb
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The names of the auto-configure classes that should have already been applied.
    Class<?>[]
    The auto-configure classes that should have already been applied.
  • Element Details

    • value

      Class<?>[] value
      The auto-configure classes that should have already been applied.
      Returns:
      the classes
      Default:
      {}
    • name

      String[] name
      The names of the auto-configure classes that should have already been applied.
      Returns:
      the class names
      Since:
      1.2.2
      Default:
      {}