Commit bac8e6c
committed
Reference web autoconfig by name in AutoConfigureAfter
Replace direct class references to WebFluxAutoConfiguration/WebMvcAutoConfiguration with string-based name entries in @AutoConfigureAfter to avoid hard compile-time dependency on those optional autoconfiguration classes. Updated WebFluxServiceRegistryAutoConfiguration and WebMvcServiceRegistryAutoConfiguration so ordering still applies while allowing the referenced web autoconfig to be absent or provided under a different module artifact.1 parent 3341a57 commit bac8e6c
2 files changed
Lines changed: 4 additions & 2 deletions
File tree
- microsphere-spring-cloud-commons/src/main/java/io/microsphere/spring/cloud/client/service/registry/autoconfigure
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
| 36 | + | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
| 50 | + | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
0 commit comments