Now you can load the context, get the Consumer bean, and run it like this.
现在,您可以下载上下文,获取Consumerbean,然后像下面这样运行它。
With the Spring's IOC framework, you can load your own custom application context.
借助Spring的IOC框架,您可以装载自己的自定义应用程序上下文。
Then you need to use the Spring context loader to load the configuration file.
然后需要使用Spring上下文加载程序来加载此配置文件。
Use the Spring context loader to load the configuration file.
使用Spring上下文加载器来加载配置文件。
Use the Spring context loader to load the configuration file.
使用Spring上下文加载器来加载配置文件。
应用推荐