Uses of Interface
org.springframework.ui.context.ThemeSource
Package
Description
Contains classes defining the application context subinterface
for UI applications.
Classes supporting the org.springframework.ui.context package.
Classes supporting the
org.springframework.web.context
package,
such as WebApplicationContext implementations and various utility classes.Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
Support classes for Spring's web MVC framework.
-
Uses of ThemeSource in org.springframework.ui.context
Modifier and TypeInterfaceDescriptioninterface
Sub-interface of ThemeSource to be implemented by objects that can resolve theme messages hierarchically.Modifier and TypeMethodDescriptionHierarchicalThemeSource.getParentThemeSource()
Return the parent of this ThemeSource, ornull
if none.Modifier and TypeMethodDescriptionvoid
HierarchicalThemeSource.setParentThemeSource
(ThemeSource parent) Set the parent that will be used to try to resolve theme messages that this object can't resolve. -
Uses of ThemeSource in org.springframework.ui.context.support
Modifier and TypeClassDescriptionclass
Empty ThemeSource that delegates all calls to the parent ThemeSource.class
ThemeSource
implementation that looks up an individualResourceBundle
per theme.Modifier and TypeMethodDescriptionDelegatingThemeSource.getParentThemeSource()
ResourceBundleThemeSource.getParentThemeSource()
static ThemeSource
UiApplicationContextUtils.initThemeSource
(ApplicationContext context) Initialize the ThemeSource for the given application context, autodetecting a bean with the name "themeSource".Modifier and TypeMethodDescriptionvoid
DelegatingThemeSource.setParentThemeSource
(ThemeSource parentThemeSource) void
ResourceBundleThemeSource.setParentThemeSource
(ThemeSource parent) -
Uses of ThemeSource 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
-annotated classes, but also plain@Component
classes and 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
. -
Uses of ThemeSource in org.springframework.web.servlet
Modifier and TypeMethodDescriptionfinal ThemeSource
DispatcherServlet.getThemeSource()
Return this servlet's ThemeSource, if any; else returnnull
. -
Uses of ThemeSource in org.springframework.web.servlet.support
Modifier and TypeMethodDescriptionstatic ThemeSource
RequestContextUtils.getThemeSource
(HttpServletRequest request) Return the ThemeSource that has been bound to the request by the DispatcherServlet.