Skip to content

fix(spring-bean-lifecycle): correcting the description of the instantiation and property population phases#2856

Merged
Snailclimb merged 1 commit into
Snailclimb:mainfrom
bengbengbalabalabeng:main
May 21, 2026
Merged

fix(spring-bean-lifecycle): correcting the description of the instantiation and property population phases#2856
Snailclimb merged 1 commit into
Snailclimb:mainfrom
bengbengbalabalabeng:main

Conversation

@bengbengbalabalabeng
Copy link
Copy Markdown
Contributor

修改

创建 Bean 的实例 阶段已经完成了构造函数注入相关处理(参考 Spring Javadoc说明)

/**
* Create a new instance for the specified bean, using an appropriate instantiation strategy:
* factory method, constructor autowiring, or simple instantiation.
* ... ...
*/
protected BeanWrapper createBeanInstance(String beanName, RootBeanDefinition mbd, @Nullable Object[] args) {}

所以 Bean 属性赋值/填充 中与 构造函数注入 相关的描述是错误。

…erty population phases in the Spring Beans lifecycle
@Snailclimb Snailclimb merged commit ed5f2b7 into Snailclimb:main May 21, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants