public class DefaultThemeManager extends Object implements ThemeManager
Constructor and Description |
---|
DefaultThemeManager(DefaultThemeManagerFactory factory,
KeycloakSession session) |
Modifier and Type | Method and Description |
---|---|
void |
clearCache() |
Theme |
getTheme(String name,
Theme.Type type)
Returns the specified theme for the specified type.
|
Theme |
getTheme(Theme.Type type)
Returns the theme for the specified type.
|
boolean |
isCacheEnabled() |
Set<String> |
nameSet(Theme.Type type)
Returns a set of all theme names for the specified type.
|
public DefaultThemeManager(DefaultThemeManagerFactory factory, KeycloakSession session)
public Theme getTheme(Theme.Type type)
ThemeManager
getTheme
in interface ThemeManager
public Theme getTheme(String name, Theme.Type type)
ThemeManager
getTheme
in interface ThemeManager
public Set<String> nameSet(Theme.Type type)
ThemeManager
nameSet
in interface ThemeManager
public boolean isCacheEnabled()
isCacheEnabled
in interface ThemeManager
public void clearCache()
clearCache
in interface ThemeManager
Copyright © 2021 JBoss by Red Hat. All rights reserved.