Java org.springframework.context.support FileSystemXmlApplicationContext fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.context.support FileSystemXmlApplicationContext fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.context.support FileSystemXmlApplicationContext.

The text is from its open source code.

Subclass

org.springframework.context.support.FileSystemXmlApplicationContext has subclasses.
Click this link to see all its subclasses.

Constructor

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.

Method

voidaddBeanFactoryPostProcessor(BeanFactoryPostProcessor postProcessor)
voidclose()
Close this application context, destroying all beans in its bean factory.
booleancontainsBean(String name)
voiddestroy()
Callback for destruction of this instance, originally attached to a DisposableBean implementation (not anymore in 5.0).
TgetBean(String name, Class requiredType)
ObjectgetBean(String name)
intgetBeanDefinitionCount()
ConfigurableListableBeanFactorygetBeanFactory()
String[]getBeanNamesForType(ResolvableType type)
MapgetBeansOfType(@Nullable Class type)
StringgetDisplayName()
Return a friendly name for this context.
ClassgetType(String name)
booleanisActive()
booleanisRunning()
voidrefresh()
voidregisterShutdownHook()
Register a shutdown hook with the JVM runtime, closing this context on JVM shutdown unless it has already been closed at that time.
voidsetClassLoader(@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.
voidsetConfigLocation(String location)
Set the config locations for this application context in init-param style, i.e.
voidsetDisplayName(String displayName)
Set a friendly name for this context.
voidsetParent(@Nullable ApplicationContext parent)
Set the parent of this application context.
voidstart()
voidstop()