Spring 春季何时需要手动关闭或刷新?
在Spring中,AnnotationConfigApplicationContext在一些示例代码中是手动关闭的,在另一个代码中不调用close方法。那么,我的问题是,是否需要我每次手动调用close方法??关于刷新方法的相同问题Spring 春季何时需要手动关闭或刷新?,spring,Spring,在Spring中,AnnotationConfigApplicationContext在一些示例代码中是手动关闭的,在另一个代码中不调用close方法。那么,我的问题是,是否需要我每次手动调用close方法??关于刷新方法的相同问题