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

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

Introduction

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

The text is from its open source code.

Subclass

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

Constructor

Method

voidclose()
Close this application context, destroying all beans in its bean factory.
ConfigurableListableBeanFactorygetBeanFactory()
Return the single internal BeanFactory held by this context (as ConfigurableListableBeanFactory).
ServletContextgetServletContext()
voidrefresh()
voidregisterSingleton(String name, Class clazz)
Register a singleton bean with the underlying bean factory.
voidregisterSingleton(String name, Class clazz, MutablePropertyValues pvs)
Register a singleton bean with the underlying bean factory.
voidsetNamespace(@Nullable String namespace)
voidsetParent(@Nullable ApplicationContext parent)
Set the parent of this application context, also setting the parent of the internal BeanFactory accordingly.
voidsetServletContext(@Nullable ServletContext servletContext)
Set the ServletContext that this WebApplicationContext runs in.