org.springframework.boot.autoconfigure

Annotation Type EnableAutoConfiguration

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      Class<?>[] exclude
      Exclude specific auto-configuration classes such that they will never be applied.
      String[] excludeName
      Exclude specific auto-configuration class names such that they will never be applied.
    • Field Detail

      • ENABLED_OVERRIDE_PROPERTY

        public static final String ENABLED_OVERRIDE_PROPERTY
    • Element Detail

      • exclude

        public abstract Class<?>[] exclude
        Exclude specific auto-configuration classes such that they will never be applied.
        Returns:
        the classes to exclude
        Default:
        {}
      • excludeName

        public abstract String[] excludeName
        Exclude specific auto-configuration class names such that they will never be applied.
        Returns:
        the class names to exclude
        Since:
        1.3.0
        Default:
        {}