开发者

is It necessary to call ApplicationContext.start

I found without using start method, I can still create beans. What's the main purpose of ApplicationContext.s开发者_如何学JAVAtart()?


The start() method is required by the Lifecycle interface, which is primarily used to support asynchronous processing. You shouldn't need to call it on your main application context.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜