DerekYRC / DerekYRC/mini-spring
FactoryBean有个功能没实现
Open
- Dominant language
- Java
- Stars
- 6.4k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
当我想获得org.springframework.test.ioc.common.CarFactoryBean的实例时不行,只能获得他getObject()创建的复杂对象,原始spring的做法是applicationContext.getBean("&car", Car.class);加了一个&符号取得。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with org.springframework.test.ioc.common.CarFactoryBean and trace applicationContext.getBean to understand how FactoryBean lookups behave. Compare ordinary lookup with the requested '&car' lookup, checking the expected return type because the example names Car.class. Done means prefixed lookup returns the factory itself while ordinary lookup still returns its getObject() product.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100