|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.ui.context.support.UiApplicationContextUtils
public abstract class UiApplicationContextUtils
Utility class for UI application context implementations.
Provides support for a special bean named "themeSource",
of type ThemeSource
.
Field Summary | |
---|---|
static java.lang.String |
THEME_SOURCE_BEAN_NAME
Name of the ThemeSource bean in the factory. |
Constructor Summary | |
---|---|
UiApplicationContextUtils()
|
Method Summary | |
---|---|
static ThemeSource |
initThemeSource(ApplicationContext context)
Initialize the ThemeSource for the given application context, autodetecting a bean with the name "themeSource". |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String THEME_SOURCE_BEAN_NAME
ThemeSource
,
Constant Field ValuesConstructor Detail |
---|
public UiApplicationContextUtils()
Method Detail |
---|
public static ThemeSource initThemeSource(ApplicationContext context)
context
- current application context
null
)THEME_SOURCE_BEAN_NAME
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |