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

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

Introduction

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

The text is from its open source code.

Implementation

org.springframework.web.context.WebApplicationContext has the following implementations.
Click this link to see all its implementation.

Field

StringROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE
Context attribute to bind root WebApplicationContext to on successful startup.
StringSCOPE_REQUEST
Scope identifier for request scope: "request".
StringSCOPE_SESSION
Scope identifier for session scope: "session".
StringSCOPE_APPLICATION
Scope identifier for the global web application scope: "application".

Method

booleancontainsBean(String name)
Does this bean factory contain a bean definition or externally registered singleton instance with the given name?
String[]getAliases(String name)
Return the aliases for the given bean name, if any.
StringgetApplicationName()
Return a name for the deployed application that this context belongs to.
AutowireCapableBeanFactorygetAutowireCapableBeanFactory()
Expose AutowireCapableBeanFactory functionality for this context.
ObjectgetBean(String name)
Return an instance, which may be shared or independent, of the specified bean.
TgetBean(String name, Class requiredType)
Return an instance, which may be shared or independent, of the specified bean.
String[]getBeanDefinitionNames()
Return the names of all beans defined in this factory.
String[]getBeanNamesForType(ResolvableType type, boolean includeNonSingletons, boolean allowEagerInit)
Return the names of beans matching the given type (including subclasses), judging from either bean definitions or the value of getObjectType in the case of FactoryBeans.
String[]getBeanNamesForType(ResolvableType type)
Return the names of beans matching the given type (including subclasses), judging from either bean definitions or the value of getObjectType in the case of FactoryBeans.
MapgetBeansOfType(@Nullable Class type)
Return the bean instances that match the given object type (including subclasses), judging from either bean definitions or the value of getObjectType in the case of FactoryBeans.
MapgetBeansOfType(@Nullable Class type, boolean includeNonSingletons, boolean allowEagerInit)
Return the bean instances that match the given object type (including subclasses), judging from either bean definitions or the value of getObjectType in the case of FactoryBeans.
ClassgetClass()
Returns the runtime class of this Object .
ClassLoadergetClassLoader()
Expose the ClassLoader used by this ResourceLoader.
StringgetDisplayName()
Return a friendly name for this context.
EnvironmentgetEnvironment()
Return the Environment associated with this component.
StringgetId()
Return the unique id of this application context.
StringgetMessage(String code, @Nullable Object[] args, @Nullable String defaultMessage, Locale locale)
Try to resolve the message.
StringgetMessage(String code, @Nullable Object[] args, Locale locale)
Try to resolve the message.
StringgetMessage(MessageSourceResolvable resolvable, Locale locale)
Try to resolve the message using all the attributes contained within the MessageSourceResolvable argument that was passed in.
ApplicationContextgetParent()
Return the parent context, or null if there is no parent and this is the root of the context hierarchy.
BeanFactorygetParentBeanFactory()
Return the parent bean factory, or null if there is none.
ResourcegetResource(String location)
Return a Resource handle for the specified resource location.
Resource[]getResources(String locationPattern)
Resolve the given location pattern into Resource objects.
ServletContextgetServletContext()
Return the standard Servlet API ServletContext for this application.
ClassgetType(String name)
Determine the type of the bean with the given name.
voidpublishEvent(ApplicationEvent event)
Notify all matching listeners registered with this application of an application event.