Package | Description |
---|---|
org.springframework.ui.context |
Contains classes defining the application context subinterface
for UI applications.
|
org.springframework.ui.context.support |
Classes supporting the org.springframework.ui.context package.
|
org.springframework.web.context.support |
Classes supporting the
org.springframework.web.context package,
such as WebApplicationContext implementations and various utility classes. |
org.springframework.web.servlet |
Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
|
org.springframework.web.servlet.support |
Support classes for Spring's web MVC framework.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HierarchicalThemeSource
Sub-interface of ThemeSource to be implemented by objects that
can resolve theme messages hierarchically.
|
Modifier and Type | Method and Description |
---|---|
ThemeSource |
HierarchicalThemeSource.getParentThemeSource()
Return the parent of this ThemeSource, or
null if none. |
Modifier and Type | Method and Description |
---|---|
void |
HierarchicalThemeSource.setParentThemeSource(ThemeSource parent)
Set the parent that will be used to try to resolve theme messages
that this object can't resolve.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingThemeSource
Empty ThemeSource that delegates all calls to the parent ThemeSource.
|
class |
ResourceBundleThemeSource
ThemeSource implementation that looks up an individual
ResourceBundle per theme. |
Modifier and Type | Method and Description |
---|---|
ThemeSource |
DelegatingThemeSource.getParentThemeSource() |
ThemeSource |
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 Type | Method and Description |
---|---|
void |
DelegatingThemeSource.setParentThemeSource(ThemeSource parentThemeSource) |
void |
ResourceBundleThemeSource.setParentThemeSource(ThemeSource parent) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRefreshableWebApplicationContext
AbstractRefreshableApplicationContext
subclass which implements the
ConfigurableWebApplicationContext
interface for web environments. |
class |
AnnotationConfigWebApplicationContext
WebApplicationContext
implementation which accepts component classes as input — in particular
@Configuration
classes, but also plain @Component
classes as well as JSR-330 compliant classes using javax.inject annotations. |
class |
GenericWebApplicationContext
Subclass of
GenericApplicationContext , suitable for web environments. |
class |
GroovyWebApplicationContext
WebApplicationContext implementation which takes
its configuration from Groovy bean definition scripts and/or XML files, as understood by
a GroovyBeanDefinitionReader . |
class |
StaticWebApplicationContext
Static
WebApplicationContext
implementation for testing. |
class |
XmlWebApplicationContext
WebApplicationContext implementation
which takes its configuration from XML documents, understood by an
XmlBeanDefinitionReader . |
Modifier and Type | Method and Description |
---|---|
ThemeSource |
DispatcherServlet.getThemeSource()
Return this servlet's ThemeSource, if any; else return
null . |
Modifier and Type | Method and Description |
---|---|
static ThemeSource |
RequestContextUtils.getThemeSource(HttpServletRequest request)
Return the ThemeSource that has been bound to the request by the
DispatcherServlet.
|