Example usage for Java org.springframework.context.support FileSystemXmlApplicationContext fields, constructors, methods, implement or subclass
The text is from its open source code.
FileSystemXmlApplicationContext(ApplicationContext parent) Create a new FileSystemXmlApplicationContext for bean-style configuration. | |
FileSystemXmlApplicationContext(String configLocation) Create a new FileSystemXmlApplicationContext, loading the definitions from the given XML file and automatically refreshing the context. | |
FileSystemXmlApplicationContext(String... configLocations) Create a new FileSystemXmlApplicationContext, loading the definitions from the given XML files and automatically refreshing the context. | |
FileSystemXmlApplicationContext(String[] configLocations, ApplicationContext parent) Create a new FileSystemXmlApplicationContext with the given parent, loading the definitions from the given XML files and automatically refreshing the context. | |
FileSystemXmlApplicationContext(String[] configLocations, boolean refresh) Create a new FileSystemXmlApplicationContext, loading the definitions from the given XML files. | |
FileSystemXmlApplicationContext() Create a new FileSystemXmlApplicationContext for bean-style configuration. | |
FileSystemXmlApplicationContext(String[] configLocations, boolean refresh, @Nullable ApplicationContext parent) Create a new FileSystemXmlApplicationContext with the given parent, loading the definitions from the given XML files. |
void | addBeanFactoryPostProcessor(BeanFactoryPostProcessor postProcessor) |
void | close() Close this application context, destroying all beans in its bean factory. |
boolean | containsBean(String name) |
void | destroy() Callback for destruction of this instance, originally attached to a DisposableBean implementation (not anymore in 5.0). |
T | getBean(String name, Class |
Object | getBean(String name) |
int | getBeanDefinitionCount() |
ConfigurableListableBeanFactory | getBeanFactory() |
String[] | getBeanNamesForType(ResolvableType type) |
Map | getBeansOfType(@Nullable Class |
String | getDisplayName() Return a friendly name for this context. |
Class> | getType(String name) |
boolean | isActive() |
boolean | isRunning() |
void | refresh() |
void | registerShutdownHook() Register a shutdown hook with the JVM runtime, closing this context on JVM shutdown unless it has already been closed at that time. |
void | setClassLoader(@Nullable ClassLoader classLoader) Specify the ClassLoader to load class path resources with, or null for using the thread context class loader at the time of actual resource access. |
void | setConfigLocation(String location) Set the config locations for this application context in init-param style, i.e. |
void | setDisplayName(String displayName) Set a friendly name for this context. |
void | setParent(@Nullable ApplicationContext parent) Set the parent of this application context. |
void | start() |
void | stop() |