阅读背景:

Simple Spring,将ClasspathApplicationContext用于独立应用程序,如何重用?

来源:互联网 

If I have a standalone main application. Say 20 classes. They all may need to interface with the beans defined by the spring configuration (ApplicationContext) at any time. I would bootstrap the classpath application context at the main application entry point. But how do you reuse the already instantiated beans?If I have a standalone main application. Say 20




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

分享到: