Commit a3118bc
committed
Register beans using BeanFactory directly
Remove dependency on BeanFactoryUtils.asBeanDefinitionRegistry and refactor setBeanFactory to call registerBeanDefinition/registerBean with the BeanFactory directly. This avoids casting to BeanDefinitionRegistry and simplifies bean registration logic.1 parent 542e028 commit a3118bc
1 file changed
Lines changed: 2 additions & 4 deletions
File tree
- microsphere-spring-context/src/main/java/io/microsphere/spring/config
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
221 | 220 | | |
222 | 221 | | |
223 | 222 | | |
224 | | - | |
225 | | - | |
226 | | - | |
| 223 | + | |
| 224 | + | |
227 | 225 | | |
228 | 226 | | |
229 | 227 | | |
| |||
0 commit comments