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

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

Introduction

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

The text is from its open source code.

Subclass

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

Constructor

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

Method

voidaddApplicationListener(ApplicationListener listener)
voidaddBeanFactoryPostProcessor(BeanFactoryPostProcessor postProcessor)
voidclose()
Close this application context, destroying all beans in its bean factory.
booleancontainsBean(String name)
AutowireCapableBeanFactorygetAutowireCapableBeanFactory()
ObjectgetBean(String name)
TgetBean(String name, Class requiredType)
ConfigurableListableBeanFactorygetBeanFactory()
Return the single internal BeanFactory held by this context (as ConfigurableListableBeanFactory).
voidpublishEvent(ApplicationEvent event)
Publish the given event to all listeners.
voidrefresh()
voidregisterBeanDefinition(String beanName, BeanDefinition beanDefinition)
voidregisterPrototype(String name, Class clazz)
Register a prototype bean with the underlying bean factory.
voidregisterSingleton(String name, Class clazz)
Register a singleton bean with the underlying bean factory.
voidsetParent(@Nullable ApplicationContext parent)
Set the parent of this application context, also setting the parent of the internal BeanFactory accordingly.
voidstop()