Spring Boot auto-configuration order

前端 未结 3 2069
广开言路
广开言路 2021-01-01 07:14

I want to create a Spring Boot auto-configuration class that (conditionally) creates a single bean A. The challenge however is, that this been has to be created

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-01 07:44

    There is a new annotation @AutoConfigureOrder in Boot 1.3.0. Though it is unclear to me at least if this would still behave the same way as @AutoConfiugreBefore.

提交回复
热议问题