public abstract class UiApplicationContextUtils
extends java.lang.Object
ThemeSource
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
THEME_SOURCE_BEAN_NAME
Name of the ThemeSource bean in the factory.
|
Constructor and Description |
---|
UiApplicationContextUtils() |
Modifier and Type | Method and Description |
---|---|
static ThemeSource |
initThemeSource(ApplicationContext context)
Initialize the ThemeSource for the given application context,
autodetecting a bean with the name "themeSource".
|
public static final java.lang.String THEME_SOURCE_BEAN_NAME
ThemeSource
,
Constant Field Valuespublic static ThemeSource initThemeSource(ApplicationContext context)
context
- current application contextnull
)THEME_SOURCE_BEAN_NAME