开发者

Share spring beans in teracotta

开发者 https://www.devze.com 2022-12-26 12:51 出处:网络
Wondering why we need to sha开发者_Python百科re spring beans in case if there are no static data inside?I think you need to share the ApplicationContext - it holds the bean instances and definitions n

Wondering why we need to sha开发者_Python百科re spring beans in case if there are no static data inside?


I think you need to share the ApplicationContext - it holds the bean instances and definitions needed. The beans themselves aren't useful (from dependency-injection perspective) without their context.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号