Package org.keycloak.theme
Class DefaultThemeManager
- java.lang.Object
- 
- org.keycloak.theme.DefaultThemeManager
 
- 
- All Implemented Interfaces:
- ThemeManager
 
 public class DefaultThemeManager extends Object implements ThemeManager - Author:
- Stian Thorgersen
 
- 
- 
Constructor SummaryConstructors Constructor Description DefaultThemeManager(DefaultThemeManagerFactory factory, KeycloakSession session)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearCache()ThemegetTheme(String name, Theme.Type type)Returns the specified theme for the specified type.ThemegetTheme(Theme.Type type)Returns the theme for the specified type.booleanisCacheEnabled()Set<String>nameSet(Theme.Type type)Returns a set of all theme names for the specified type.
 
- 
- 
- 
Constructor Detail- 
DefaultThemeManagerpublic DefaultThemeManager(DefaultThemeManagerFactory factory, KeycloakSession session) 
 
- 
 - 
Method Detail- 
getThemepublic Theme getTheme(Theme.Type type) Description copied from interface:ThemeManagerReturns the theme for the specified type. The theme is determined by the theme selector.- Specified by:
- getThemein interface- ThemeManager
- Returns:
 
 - 
getThemepublic Theme getTheme(String name, Theme.Type type) Description copied from interface:ThemeManagerReturns the specified theme for the specified type.- Specified by:
- getThemein interface- ThemeManager
- Returns:
 
 - 
nameSetpublic Set<String> nameSet(Theme.Type type) Description copied from interface:ThemeManagerReturns a set of all theme names for the specified type.- Specified by:
- nameSetin interface- ThemeManager
- Returns:
 
 - 
isCacheEnabledpublic boolean isCacheEnabled() - Specified by:
- isCacheEnabledin interface- ThemeManager
 
 - 
clearCachepublic void clearCache() - Specified by:
- clearCachein interface- ThemeManager
 
 
- 
 
-