java.lang.Object |
↳ |
org.springframework.ui.context.support.UiApplicationContextUtils |
Class Overview
Utility class for UI application context implementations.
Provides support for a special bean named "themeSource",
of type ThemeSource
.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Constants
public
static
final
String
THEME_SOURCE_BEAN_NAME
Name of the ThemeSource bean in the factory.
If none is supplied, theme resolution is delegated to the parent.
Constant Value:
"themeSource"
Public Constructors
public
UiApplicationContextUtils
()
Public Methods
Initialize the ThemeSource for the given application context,
autodetecting a bean with the name "themeSource". If no such
bean is found, a default (empty) ThemeSource will be used.
Parameters
context
| current application context |
Returns
- the initialized theme source (will never be
null
)