Example usage for Java org.springframework.web.context.support StaticWebApplicationContext fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Close this application context, destroying all beans in its bean factory. |
ConfigurableListableBeanFactory | getBeanFactory() Return the single internal BeanFactory held by this context (as ConfigurableListableBeanFactory). |
ServletContext | getServletContext() |
void | refresh() |
void | registerSingleton(String name, Class> clazz) Register a singleton bean with the underlying bean factory. |
void | registerSingleton(String name, Class> clazz, MutablePropertyValues pvs) Register a singleton bean with the underlying bean factory. |
void | setNamespace(@Nullable String namespace) |
void | setParent(@Nullable ApplicationContext parent) Set the parent of this application context, also setting the parent of the internal BeanFactory accordingly. |
void | setServletContext(@Nullable ServletContext servletContext) Set the ServletContext that this WebApplicationContext runs in. |