org.springframework.context.support
Class FileSystemXmlApplicationContext
java.lang.Objectorg.springframework.core.io.DefaultResourceLoader
org.springframework.context.support.AbstractApplicationContext
org.springframework.context.support.AbstractRefreshableApplicationContext
org.springframework.context.support.AbstractRefreshableConfigApplicationContext
org.springframework.context.support.AbstractXmlApplicationContext
org.springframework.context.support.FileSystemXmlApplicationContext
destroy
public void destroy()
-
DisposableBean callback for destruction of this instance. Only called when the ApplicationContext itself is running as a bean in another BeanFactory or ApplicationContext, which is rather unusual.
The
close
method is the native way to shut down an ApplicationContext. -
-
Specified by:
-
destroy
in interfaceDisposableBean
-
-
-
See Also:
-
close()
,SingletonBeanFactoryLocator
-