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

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

Introduction

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

The text is from its open source code.

Subclass

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

Constructor

AbstractXmlApplicationContext(@Nullable ApplicationContext parent)
Create a new AbstractXmlApplicationContext with the given parent context.

Method

voidaddBeanFactoryPostProcessor(BeanFactoryPostProcessor postProcessor)
voidclose()
Close this application context, destroying all beans in its bean factory.
voiddestroy()
Callback for destruction of this instance, originally attached to a DisposableBean implementation (not anymore in 5.0).
ObjectgetBean(String name)
ConfigurableListableBeanFactorygetBeanFactory()
MapgetBeansOfType(@Nullable Class type)
ConfigurableEnvironmentgetEnvironment()
Return the Environment for this application context in configurable form, allowing for further customization.
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.
voidsetParent(@Nullable ApplicationContext parent)
Set the parent of this application context.
voidstart()
voidstop()
voidwait(long timeoutMillis)
Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.