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

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

Introduction

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

The text is from its open source code.

Subclass

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

Field

StringMESSAGE_SOURCE_BEAN_NAME
Name of the MessageSource bean in the factory.
StringAPPLICATION_EVENT_MULTICASTER_BEAN_NAME
Name of the ApplicationEventMulticaster bean in the factory.

Constructor

AbstractApplicationContext()
Create a new AbstractApplicationContext with no parent.

Method

voidaddApplicationListener(ApplicationListener listener)
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).
ObjectgetBean(String name)
TgetBean(Class requiredType)
TgetBean(String name, Class requiredType)
ObjectgetBean(String name, Object... args)
TgetBean(Class requiredType, Object... args)
String[]getBeanDefinitionNames()
ConfigurableListableBeanFactorygetBeanFactory()
Subclasses must return their internal bean factory here.
String[]getBeanNamesForType(ResolvableType type)
String[]getBeanNamesForType(@Nullable Class type)
MapgetBeansOfType(@Nullable Class type)
ClassLoadergetClassLoader()
Return the ClassLoader to load class path resources with.
ResourcegetResource(String location)
booleanisActive()
booleanisRunning()
voidpublishEvent(ApplicationEvent event)
Publish the given event to all listeners.
voidpublishEvent(Object event)
Publish the given event to all listeners.
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.
voidsetParent(@Nullable ApplicationContext parent)
Set the parent of this application context.
voidstart()
voidstop()