An indication of this need is when your distribution ZIP or update JAR seems larger that it should be, or keeps jumping in size, every time you run the build process.
当您的组件压缩包或者update JAR看起来比它应该的大小要大,或者在每次您进行编译时包的大小呈跳跃式增长,说明您应该执行以上步骤了。
So the run method of this object keeps on executing until the contextDestroyed variable is set to true.
因此,这个对象的 run 方法将继续执行,直到将 contextDestroyed 变量设置为 true 为止。
This is a little unusual in that the Spring framework instantiates an object that is already run from the command line, but that just keeps things simple for the purposes of this demonstration.
这有点反常,因为 Spring 框架实例化一个已经从命令行运行的对象,但那只是为了实现演示目的而进行的简化。
应用推荐