阅读背景:

Spring通过名称构造函数参数自动装配

来源:互联网 

We have a big java applications with thousands of beans, profiling the slow spring context initialization we found that the auto-wiring by type is what's taking most of the context loading time. Autowiring the bean by name seems to improve the context initialization by an order of magnitude. However I couldn't find a way to auto-wire beans by name as constructor arguments.We have a big java applications with thousands




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: