Uses of Interface
org.springframework.context.ApplicationContext
Package
Description
This package builds on the beans package to add support for
message sources and for the Observer design pattern, and the
ability for application objects to obtain resources using a
consistent API.
Annotation support for the Application Context, including JSR-250 "common"
annotations, component-scanning, and Java-based metadata for creating
Spring-managed objects.
Support classes for application events, like standard context events.
Classes supporting the org.springframework.context package,
such as abstract base classes for ApplicationContext
implementations and a MessageSource implementation.
Provides HttpMessageConverter implementations for handling JSON.
Support package for declarative messaging configuration,
with Java configuration and XML schema support.
Common infrastructure for invoking message handler methods.
Common infrastructure for invoking message handler methods with non-blocking,
and reactive contracts.
Configuration support for WebSocket messaging using higher level messaging protocols.
Annotation support for asynchronous method execution.
Support classes for the open source scheduler
Quartz,
allowing to set up Quartz Schedulers, JobDetails and
Triggers as beans in a Spring context.
This package contains the Spring TestContext Framework which
provides annotation-driven unit and integration testing support that is
agnostic of the actual testing framework in use.
Support for context caching within the Spring TestContext Framework.
Core support for integrating the Spring TestContext Framework
with the JUnit Jupiter extension model in JUnit 5.
Support classes for integrating the Spring TestContext Framework
with JUnit 4.12 or higher.
Support classes for the Spring TestContext Framework.
Support classes for integrating the Spring TestContext Framework
with TestNG.
Web support classes for the Spring TestContext Framework.
Support for testing Spring WebFlux server endpoints via
WebTestClient
.Classes supporting the org.springframework.ui.context package.
Support classes for integrating a JSR-303 Bean Validation provider
(such as Hibernate Validator) into a Spring ApplicationContext
and in particular with Spring's data binding and validation APIs.
Contains a variant of the application context interface for web applications,
and the ContextLoaderListener that bootstraps a root web application context.
Classes supporting the
org.springframework.web.context
package,
such as WebApplicationContext implementations and various utility classes.Common infrastructure for handler method processing, as used by
Spring MVC's
org.springframework.web.servlet.mvc.method
package.Top-level package for the
spring-webflux
module that contains
DispatcherHandler
, the main entry
point for WebFlux server endpoint processing including key contracts used to
map requests to handlers, invoke them, and process the result.Spring WebFlux configuration infrastructure.
Support classes for serving static resources.
Infrastructure for annotation-based handler method processing.
Support for result handling through view resolution.
Support classes for views based on the JSR-223 script engine abstraction
(as included in Java 6+), e.g.
Core interfaces and classes for Spring's generic, reactive web support.
Implementations to adapt to the underlying
org.springframework.http.client.reactive
reactive HTTP adapter
and HttpHandler
.Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
Annotation-based setup for Spring MVC.
Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.Support classes for serving static resources.
Provides standard View and ViewResolver implementations,
including abstract base classes for custom implementations.
Support classes for the integration of
Groovy Templates as Spring web view technology.
Support classes for views based on the JSR-223 script engine abstraction
(as included in Java 6+), e.g.
Adapter classes for the standard Java WebSocket API.
Support for annotation-based WebSocket setup in configuration classes.
-
Uses of ApplicationContext in org.springframework.context
Modifier and TypeInterfaceDescriptioninterface
SPI interface to be implemented by most if not all application contexts.Modifier and TypeMethodDescriptionApplicationContext.getParent()
Return the parent context, ornull
if there is no parent and this is the root of the context hierarchy.Modifier and TypeMethodDescriptionvoid
ApplicationContextAware.setApplicationContext
(ApplicationContext applicationContext) Set the ApplicationContext that this object runs in.void
ConfigurableApplicationContext.setParent
(ApplicationContext parent) Set the parent of this application context. -
Uses of ApplicationContext in org.springframework.context.annotation
Modifier and TypeClassDescriptionclass
Standalone application context, accepting component classes as input — in particular@Configuration
-annotated classes, but also plain@Component
types and JSR-330 compliant classes usingjakarta.inject
annotations. -
Uses of ApplicationContext in org.springframework.context.event
Modifier and TypeMethodDescriptionfinal ApplicationContext
ApplicationContextEvent.getApplicationContext()
Get theApplicationContext
that the event was raised for.Modifier and TypeMethodDescriptionvoid
EventListenerMethodProcessor.setApplicationContext
(ApplicationContext applicationContext) ModifierConstructorDescriptionCreate a new ContextStartedEvent.ContextClosedEvent
(ApplicationContext source) Creates a new ContextClosedEvent.Create a new ContextRefreshedEvent.Create a new ContextStartedEvent.Create a new ContextStoppedEvent. -
Uses of ApplicationContext in org.springframework.context.support
Modifier and TypeClassDescriptionclass
Abstract implementation of theApplicationContext
interface.class
Base class forApplicationContext
implementations which are supposed to support multiple calls toAbstractApplicationContext.refresh()
, creating a new internal bean factory instance every time.class
AbstractRefreshableApplicationContext
subclass that adds common handling of specified config locations.class
Convenient base class forApplicationContext
implementations, drawing configuration from XML documents containing bean definitions understood by anXmlBeanDefinitionReader
.class
Standalone XML application context, taking the context definition files from the class path, interpreting plain paths as class path resource names that include the package path (e.g.class
Standalone XML application context, taking the context definition files from the file system or from URLs, interpreting plain paths as relative file system locations (e.g.class
Generic ApplicationContext implementation that holds a single internalDefaultListableBeanFactory
instance and does not assume a specific bean definition format.class
AnApplicationContext
implementation that extendsGenericApplicationContext
and implementsGroovyObject
such that beans can be retrieved with the dot de-reference syntax instead of usingAbstractApplicationContext.getBean(java.lang.String)
.class
Convenient application context with built-in XML support.class
ApplicationContext
implementation which supports programmatic registration of beans and messages, rather than reading bean definitions from external configuration sources.Modifier and TypeMethodDescriptionfinal ApplicationContext
ApplicationObjectSupport.getApplicationContext()
Return the ApplicationContext that this object is associated with.AbstractApplicationContext.getParent()
Return the parent context, ornull
if there is no parent (that is, this context is the root of the context hierarchy).protected final ApplicationContext
ApplicationObjectSupport.obtainApplicationContext()
Obtain the ApplicationContext for actual use.Modifier and TypeMethodDescriptionprotected void
ApplicationObjectSupport.initApplicationContext
(ApplicationContext context) Subclasses can override this for custom initialization behavior.final void
ApplicationObjectSupport.setApplicationContext
(ApplicationContext context) void
AbstractApplicationContext.setParent
(ApplicationContext parent) Set the parent of this application context.void
GenericApplicationContext.setParent
(ApplicationContext parent) Set the parent of this application context, also setting the parent of the internal BeanFactory accordingly.ModifierConstructorDescriptionCreate a new AbstractApplicationContext with the given parent context.Create a new AbstractRefreshableApplicationContext with the given parent context.Create a new AbstractRefreshableConfigApplicationContext with the given parent context.Create a new AbstractXmlApplicationContext with the given parent context.ClassPathXmlApplicationContext
(String[] configLocations, boolean refresh, ApplicationContext parent) Create a new ClassPathXmlApplicationContext with the given parent, loading the definitions from the given XML files.ClassPathXmlApplicationContext
(String[] paths, Class<?> clazz, ApplicationContext parent) Create a new ClassPathXmlApplicationContext with the given parent, loading the definitions from the given XML files and automatically refreshing the context.ClassPathXmlApplicationContext
(String[] configLocations, ApplicationContext parent) Create a new ClassPathXmlApplicationContext with the given parent, loading the definitions from the given XML files and automatically refreshing the context.Create a new ClassPathXmlApplicationContext for bean-style configuration.FileSystemXmlApplicationContext
(String[] configLocations, boolean refresh, ApplicationContext parent) Create a new FileSystemXmlApplicationContext with the given parent, loading the definitions from the given XML files.FileSystemXmlApplicationContext
(String[] configLocations, ApplicationContext parent) Create a new FileSystemXmlApplicationContext with the given parent, loading the definitions from the given XML files and automatically refreshing the context.Create a new FileSystemXmlApplicationContext for bean-style configuration.GenericApplicationContext
(DefaultListableBeanFactory beanFactory, ApplicationContext parent) Create a new GenericApplicationContext with the given DefaultListableBeanFactory.Create a new GenericApplicationContext with the given parent.Create a new StaticApplicationContext with the given parent. -
Uses of ApplicationContext in org.springframework.http.converter.json
Modifier and TypeMethodDescriptionJackson2ObjectMapperBuilder.applicationContext
(ApplicationContext applicationContext) Set the SpringApplicationContext
in order to autowire Jackson handlers (JsonSerializer
,JsonDeserializer
,KeyDeserializer
,TypeResolverBuilder
andTypeIdResolver
).void
Jackson2ObjectMapperFactoryBean.setApplicationContext
(ApplicationContext applicationContext) Set the builderApplicationContext
in order to autowire Jackson handlers (JsonSerializer
,JsonDeserializer
,KeyDeserializer
,TypeResolverBuilder
andTypeIdResolver
). -
Uses of ApplicationContext in org.springframework.jms.config
Modifier and TypeMethodDescriptionvoid
JmsListenerEndpointRegistry.setApplicationContext
(ApplicationContext applicationContext) -
Uses of ApplicationContext in org.springframework.messaging.handler.invocation
Modifier and TypeMethodDescriptionvoid
AbstractMethodMessageHandler.setApplicationContext
(ApplicationContext applicationContext) -
Uses of ApplicationContext in org.springframework.messaging.handler.invocation.reactive
Modifier and TypeMethodDescriptionvoid
AbstractMethodMessageHandler.setApplicationContext
(ApplicationContext applicationContext) -
Uses of ApplicationContext in org.springframework.messaging.simp.config
Modifier and TypeMethodDescriptionvoid
AbstractMessageBrokerConfiguration.setApplicationContext
(ApplicationContext applicationContext) -
Uses of ApplicationContext in org.springframework.scheduling.annotation
Modifier and TypeMethodDescriptionvoid
ScheduledAnnotationBeanPostProcessor.setApplicationContext
(ApplicationContext applicationContext) Setting anApplicationContext
is optional: If set, registered tasks will be activated in theContextRefreshedEvent
phase; if not set, it will happen atScheduledAnnotationBeanPostProcessor.afterSingletonsInstantiated()
time. -
Uses of ApplicationContext in org.springframework.scheduling.quartz
Modifier and TypeMethodDescriptionvoid
JobDetailFactoryBean.setApplicationContext
(ApplicationContext applicationContext) void
SchedulerFactoryBean.setApplicationContext
(ApplicationContext applicationContext) void
SpringBeanJobFactory.setApplicationContext
(ApplicationContext applicationContext) -
Uses of ApplicationContext in org.springframework.test.context
Modifier and TypeMethodDescriptionTestContext.getApplicationContext()
Get the application context for this test context, possibly cached.MergedContextConfiguration.getParentApplicationContext()
Get the parentApplicationContext
for the context defined by thisMergedContextConfiguration
from the context cache.CacheAwareContextLoaderDelegate.loadContext
(MergedContextConfiguration mergedContextConfiguration) Load the application context for the suppliedMergedContextConfiguration
by delegating to theContextLoader
configured in the givenMergedContextConfiguration
.ContextLoader.loadContext
(String... locations) Loads a newcontext
based on the suppliedlocations
, configures the context, and finally returns the context in fully refreshed state.SmartContextLoader.loadContext
(MergedContextConfiguration mergedConfig) Loads a newcontext
based on the suppliedmerged context configuration
, configures the context, and finally returns the context in a fully refreshed state. -
Uses of ApplicationContext in org.springframework.test.context.cache
Modifier and TypeMethodDescriptionContextCache.get
(MergedContextConfiguration key) Obtain a cachedApplicationContext
for the given key.DefaultContextCache.get
(MergedContextConfiguration key) Obtain a cachedApplicationContext
for the given key.DefaultCacheAwareContextLoaderDelegate.loadContext
(MergedContextConfiguration mergedContextConfiguration) protected ApplicationContext
DefaultCacheAwareContextLoaderDelegate.loadContextInternal
(MergedContextConfiguration mergedContextConfiguration) Load theApplicationContext
for the supplied merged context configuration.Modifier and TypeMethodDescriptionvoid
ContextCache.put
(MergedContextConfiguration key, ApplicationContext context) Explicitly add anApplicationContext
instance to the cache under the given key, potentially honoring a custom eviction policy.void
DefaultContextCache.put
(MergedContextConfiguration key, ApplicationContext context) Explicitly add anApplicationContext
instance to the cache under the given key, potentially honoring a custom eviction policy. -
Uses of ApplicationContext in org.springframework.test.context.junit.jupiter
Modifier and TypeMethodDescriptionstatic ApplicationContext
SpringExtension.getApplicationContext
(org.junit.jupiter.api.extension.ExtensionContext context) Get theApplicationContext
associated with the suppliedExtensionContext
. -
Uses of ApplicationContext in org.springframework.test.context.junit4
Modifier and TypeFieldDescriptionprotected ApplicationContext
AbstractJUnit4SpringContextTests.applicationContext
TheApplicationContext
that was injected into this test instance viaAbstractJUnit4SpringContextTests.setApplicationContext(ApplicationContext)
.Modifier and TypeMethodDescriptionfinal void
AbstractJUnit4SpringContextTests.setApplicationContext
(ApplicationContext applicationContext) Set theApplicationContext
to be used by this test instance, provided viaApplicationContextAware
semantics. -
Uses of ApplicationContext in org.springframework.test.context.support
Modifier and TypeMethodDescriptionDefaultTestContext.getApplicationContext()
Get the application context for this test context.final ApplicationContext
AbstractDelegatingSmartContextLoader.loadContext
(String... locations) AbstractDelegatingSmartContextLoader
does not support theContextLoader.loadContext(String...)
method.AbstractDelegatingSmartContextLoader.loadContext
(MergedContextConfiguration mergedConfig) Delegates to an appropriate candidateSmartContextLoader
to load anApplicationContext
. -
Uses of ApplicationContext in org.springframework.test.context.testng
Modifier and TypeFieldDescriptionprotected ApplicationContext
AbstractTestNGSpringContextTests.applicationContext
TheApplicationContext
that was injected into this test instance viaAbstractTestNGSpringContextTests.setApplicationContext(ApplicationContext)
.Modifier and TypeMethodDescriptionfinal void
AbstractTestNGSpringContextTests.setApplicationContext
(ApplicationContext applicationContext) Set theApplicationContext
to be used by this test instance, provided viaApplicationContextAware
semantics. -
Uses of ApplicationContext in org.springframework.test.context.web
Modifier and TypeMethodDescriptionfinal ApplicationContext
AbstractGenericWebContextLoader.loadContext
(String... locations) AbstractGenericWebContextLoader
should be used as aSmartContextLoader
, not as a legacyContextLoader
. -
Uses of ApplicationContext in org.springframework.test.web.reactive.server
Modifier and TypeMethodDescriptionstatic WebTestClient.MockServerSpec<?>
WebTestClient.bindToApplicationContext
(ApplicationContext applicationContext) Use this option to setup a server from the Spring configuration of your application, or some subset of it. -
Uses of ApplicationContext in org.springframework.ui.context.support
Modifier and TypeMethodDescriptionstatic ThemeSource
UiApplicationContextUtils.initThemeSource
(ApplicationContext context) Initialize the ThemeSource for the given application context, autodetecting a bean with the name "themeSource". -
Uses of ApplicationContext in org.springframework.validation.beanvalidation
Modifier and TypeMethodDescriptionvoid
LocalValidatorFactoryBean.setApplicationContext
(ApplicationContext applicationContext) -
Uses of ApplicationContext in org.springframework.web.context
Modifier and TypeInterfaceDescriptioninterface
Interface to be implemented by configurable web application contexts.interface
Interface to provide configuration for a web application.Modifier and TypeMethodDescriptionprotected ApplicationContext
ContextLoader.loadParentContext
(ServletContext servletContext) Template method with default implementation (which may be overridden by a subclass), to load or obtain an ApplicationContext instance which will be used as the parent context of the root WebApplicationContext. -
Uses of ApplicationContext in org.springframework.web.context.support
Modifier and TypeClassDescriptionclass
AbstractRefreshableApplicationContext
subclass which implements theConfigurableWebApplicationContext
interface for web environments.class
WebApplicationContext
implementation which accepts component classes as input — in particular@Configuration
classes, but also plain@Component
classes as well as JSR-330 compliant classes usingjakarta.inject
annotations.class
Subclass ofGenericApplicationContext
, suitable for web environments.class
WebApplicationContext
implementation which takes its configuration from Groovy bean definition scripts and/or XML files, as understood by aGroovyBeanDefinitionReader
.class
StaticWebApplicationContext
implementation for testing.class
WebApplicationContext
implementation which takes its configuration from XML documents, understood by anXmlBeanDefinitionReader
.Modifier and TypeMethodDescriptionprotected void
WebApplicationObjectSupport.initApplicationContext
(ApplicationContext context) CallsWebApplicationObjectSupport.initServletContext(jakarta.servlet.ServletContext)
if the given ApplicationContext is aWebApplicationContext
. -
Uses of ApplicationContext in org.springframework.web.method
Modifier and TypeMethodDescriptionstatic List<ControllerAdviceBean>
ControllerAdviceBean.findAnnotatedBeans
(ApplicationContext context) Find beans annotated with@ControllerAdvice
in the givenApplicationContext
and wrap them asControllerAdviceBean
instances. -
Uses of ApplicationContext in org.springframework.web.reactive
Modifier and TypeMethodDescriptionprotected void
DispatcherHandler.initStrategies
(ApplicationContext context) void
DispatcherHandler.setApplicationContext
(ApplicationContext applicationContext) ModifierConstructorDescriptionDispatcherHandler
(ApplicationContext applicationContext) Create a newDispatcherHandler
for the givenApplicationContext
. -
Uses of ApplicationContext in org.springframework.web.reactive.config
Modifier and TypeMethodDescriptionfinal ApplicationContext
WebFluxConfigurationSupport.getApplicationContext()
Modifier and TypeMethodDescriptionvoid
WebFluxConfigurationSupport.setApplicationContext
(ApplicationContext applicationContext) -
Uses of ApplicationContext in org.springframework.web.reactive.resource
Modifier and TypeMethodDescriptionvoid
ResourceUrlProvider.setApplicationContext
(ApplicationContext applicationContext) -
Uses of ApplicationContext in org.springframework.web.reactive.result.method.annotation
Modifier and TypeMethodDescriptionvoid
RequestMappingHandlerAdapter.setApplicationContext
(ApplicationContext applicationContext) AConfigurableApplicationContext
is expected for resolving expressions in method argument default values as well as for detecting@ControllerAdvice
beans. -
Uses of ApplicationContext in org.springframework.web.reactive.result.view
Modifier and TypeMethodDescriptionAbstractView.getApplicationContext()
UrlBasedViewResolver.getApplicationContext()
Return the containingApplicationContext
, if any.protected final ApplicationContext
AbstractView.obtainApplicationContext()
Obtain theApplicationContext
for actual use.Modifier and TypeMethodDescriptionvoid
AbstractView.setApplicationContext
(ApplicationContext applicationContext) void
UrlBasedViewResolver.setApplicationContext
(ApplicationContext applicationContext) Accept the containingApplicationContext
, if any. -
Uses of ApplicationContext in org.springframework.web.reactive.result.view.script
Modifier and TypeMethodDescriptionRenderingContext.getApplicationContext()
Return the application context.Modifier and TypeMethodDescriptionvoid
ScriptTemplateView.setApplicationContext
(ApplicationContext context) ModifierConstructorDescriptionRenderingContext
(ApplicationContext applicationContext, Locale locale, Function<String, String> templateLoader, String url) Create a newRenderingContext
. -
Uses of ApplicationContext in org.springframework.web.server
Modifier and TypeMethodDescriptionServerWebExchange.getApplicationContext()
Return theApplicationContext
associated with the web application, if it was initialized with one viaWebHttpHandlerBuilder.applicationContext(ApplicationContext)
.ServerWebExchangeDecorator.getApplicationContext()
-
Uses of ApplicationContext in org.springframework.web.server.adapter
Modifier and TypeMethodDescriptionprotected ApplicationContext
AbstractReactiveWebInitializer.createApplicationContext()
Return the Spring configuration that contains application beans including the ones detected byWebHttpHandlerBuilder.applicationContext
.DefaultServerWebExchange.getApplicationContext()
HttpWebHandlerAdapter.getApplicationContext()
Return the configuredApplicationContext
, if any.Modifier and TypeMethodDescriptionstatic WebHttpHandlerBuilder
WebHttpHandlerBuilder.applicationContext
(ApplicationContext context) Static factory method to create a new builder instance by detecting beans in anApplicationContext
.protected void
AbstractReactiveWebInitializer.refreshApplicationContext
(ApplicationContext context) Refresh the given application context, if necessary.protected void
AbstractReactiveWebInitializer.registerCloseListener
(ServletContext servletContext, ApplicationContext applicationContext) Register aServletContextListener
that closes the given application context when the servlet context is destroyed.void
HttpWebHandlerAdapter.setApplicationContext
(ApplicationContext applicationContext) Configure theApplicationContext
associated with the web application, if it was initialized with one viaWebHttpHandlerBuilder.applicationContext(ApplicationContext)
. -
Uses of ApplicationContext in org.springframework.web.servlet
Modifier and TypeMethodDescriptionprotected Object
DispatcherServlet.createDefaultStrategy
(ApplicationContext context, Class<?> clazz) Create a default strategy.protected WebApplicationContext
FrameworkServlet.createWebApplicationContext
(ApplicationContext parent) Instantiate the WebApplicationContext for this servlet, either a defaultXmlWebApplicationContext
or acustom context class
, if set.protected <T> List<T>
DispatcherServlet.getDefaultStrategies
(ApplicationContext context, Class<T> strategyInterface) Create a List of default strategy objects for the given strategy interface.protected <T> T
DispatcherServlet.getDefaultStrategy
(ApplicationContext context, Class<T> strategyInterface) Return the default strategy object for the given strategy interface.protected void
DispatcherServlet.initStrategies
(ApplicationContext context) Initialize the strategy objects that this servlet uses.protected void
DispatcherServlet.onRefresh
(ApplicationContext context) This implementation callsDispatcherServlet.initStrategies(org.springframework.context.ApplicationContext)
.protected void
FrameworkServlet.onRefresh
(ApplicationContext context) Template method which can be overridden to add servlet-specific refresh work.void
FrameworkServlet.setApplicationContext
(ApplicationContext applicationContext) Called by Spring viaApplicationContextAware
to inject the current application context. -
Uses of ApplicationContext in org.springframework.web.servlet.config.annotation
Modifier and TypeMethodDescriptionfinal ApplicationContext
WebMvcConfigurationSupport.getApplicationContext()
Return the associated SpringApplicationContext
.Modifier and TypeMethodDescriptionprotected void
RedirectViewControllerRegistration.setApplicationContext
(ApplicationContext applicationContext) protected void
ViewControllerRegistration.setApplicationContext
(ApplicationContext applicationContext) void
WebMvcConfigurationSupport.setApplicationContext
(ApplicationContext applicationContext) Set the SpringApplicationContext
, e.g.ModifierConstructorDescriptionResourceHandlerRegistry
(ApplicationContext applicationContext, ServletContext servletContext) Create a new resource handler registry for the given application context.ResourceHandlerRegistry
(ApplicationContext applicationContext, ServletContext servletContext, ContentNegotiationManager contentNegotiationManager) Create a new resource handler registry for the given application context.ResourceHandlerRegistry
(ApplicationContext applicationContext, ServletContext servletContext, ContentNegotiationManager contentNegotiationManager, UrlPathHelper pathHelper) A variant ofResourceHandlerRegistry(ApplicationContext, ServletContext, ContentNegotiationManager)
that also accepts theUrlPathHelper
used for mapping requests to static resources.ViewControllerRegistry
(ApplicationContext applicationContext) Class constructor withApplicationContext
.ViewResolverRegistry
(ContentNegotiationManager contentNegotiationManager, ApplicationContext context) Class constructor withContentNegotiationManager
andApplicationContext
. -
Uses of ApplicationContext in org.springframework.web.servlet.handler
Modifier and TypeMethodDescriptionvoid
HandlerMappingIntrospector.setApplicationContext
(ApplicationContext applicationContext) -
Uses of ApplicationContext in org.springframework.web.servlet.mvc.method.annotation
Modifier and TypeMethodDescriptionvoid
ExceptionHandlerExceptionResolver.setApplicationContext
(ApplicationContext applicationContext) -
Uses of ApplicationContext in org.springframework.web.servlet.resource
Modifier and TypeMethodDescriptionprotected void
ResourceUrlProvider.detectResourceHandlers
(ApplicationContext appContext) void
ResourceUrlProvider.setApplicationContext
(ApplicationContext applicationContext) -
Uses of ApplicationContext in org.springframework.web.servlet.view
Modifier and TypeMethodDescriptionvoid
ViewResolverComposite.setApplicationContext
(ApplicationContext applicationContext) -
Uses of ApplicationContext in org.springframework.web.servlet.view.groovy
Modifier and TypeMethodDescriptionprotected ApplicationContext
GroovyMarkupConfigurer.getApplicationContext()
Modifier and TypeMethodDescriptionprotected void
GroovyMarkupView.initApplicationContext
(ApplicationContext context) Invoked at startup.void
GroovyMarkupConfigurer.setApplicationContext
(ApplicationContext applicationContext) -
Uses of ApplicationContext in org.springframework.web.servlet.view.script
Modifier and TypeMethodDescriptionRenderingContext.getApplicationContext()
Return the application context.Modifier and TypeMethodDescriptionprotected void
ScriptTemplateView.initApplicationContext
(ApplicationContext context) ModifierConstructorDescriptionRenderingContext
(ApplicationContext applicationContext, Locale locale, Function<String, String> templateLoader, String url) Create a newRenderingContext
. -
Uses of ApplicationContext in org.springframework.web.socket.adapter.standard
Modifier and TypeMethodDescriptionprotected ApplicationContext
ConvertingEncoderDecoderSupport.getApplicationContext()
Returns the activeApplicationContext
. -
Uses of ApplicationContext in org.springframework.web.socket.config.annotation
Modifier and TypeMethodDescriptionprotected void
WebMvcStompEndpointRegistry.setApplicationContext
(ApplicationContext applicationContext)