You can use both an initialization method and the InitializingBean on the same bean instance.
In this case, Spring invokes InitializingBean.afterPropertiesSet() first, followed by your initialization
method.
InitializingBean init-method
最新推荐文章于 2025-08-06 14:52:08 发布