File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
apollo-client/src/main/java/com/ctrip/framework/apollo/spring/boot Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Release Notes.
55Apollo Java 2.4.0
66
77------------------
8- *
8+ * [ Fix the Cannot enhance @ Configuration bean definition issue ] ( https://github.com/apolloconfig/apollo-java/pull/82 )
99
1010------------------
1111All issues and pull requests are [ here] ( https://github.com/apolloconfig/apollo-java/milestone/4?closed=1 )
Original file line number Diff line number Diff line change 1919import com .ctrip .framework .apollo .spring .config .ConfigPropertySourcesProcessor ;
2020import com .ctrip .framework .apollo .spring .config .PropertySourcesConstants ;
2121import com .ctrip .framework .apollo .spring .config .PropertySourcesProcessor ;
22+ import org .springframework .boot .autoconfigure .AutoConfiguration ;
2223import org .springframework .boot .autoconfigure .condition .ConditionalOnMissingBean ;
2324import org .springframework .boot .autoconfigure .condition .ConditionalOnProperty ;
2425import org .springframework .context .annotation .Bean ;
25- import org .springframework .context .annotation .Configuration ;
2626
27- @ Configuration
27+ @ AutoConfiguration
2828@ ConditionalOnProperty (PropertySourcesConstants .APOLLO_BOOTSTRAP_ENABLED )
2929@ ConditionalOnMissingBean (PropertySourcesProcessor .class )
3030public class ApolloAutoConfiguration {
You can’t perform that action at this time.
0 commit comments