Package org.keycloak.theme
Class DefaultThemeManager
java.lang.Object
org.keycloak.theme.DefaultThemeManager
- All Implemented Interfaces:
ThemeManager,Provider
- Author:
- Stian Thorgersen
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultThemeManager(DefaultThemeManagerFactory factory, KeycloakSession session) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()getTheme(String name, Theme.Type type) Returns the specified theme for the specified type.getTheme(Theme.Type type) Returns the theme for the specified type.booleannameSet(Theme.Type type) Returns a set of all theme names for the specified type.
-
Constructor Details
-
DefaultThemeManager
-
-
Method Details
-
getTheme
Description copied from interface:ThemeManagerReturns the theme for the specified type. The theme is determined by the theme selector.- Specified by:
getThemein interfaceThemeManager- Returns:
-
getTheme
Description copied from interface:ThemeManagerReturns the specified theme for the specified type.- Specified by:
getThemein interfaceThemeManager- Returns:
-
nameSet
Description copied from interface:ThemeManagerReturns a set of all theme names for the specified type.- Specified by:
nameSetin interfaceThemeManager- Returns:
-
isCacheEnabled
public boolean isCacheEnabled()- Specified by:
isCacheEnabledin interfaceThemeManager
-
clearCache
public void clearCache()- Specified by:
clearCachein interfaceThemeManager
-
close
public void close()
-