Package org.keycloak.theme
Class ClasspathThemeProvider
- java.lang.Object
-
- org.keycloak.theme.ClasspathThemeProvider
-
- All Implemented Interfaces:
Provider
,ThemeProvider
public class ClasspathThemeProvider extends Object implements ThemeProvider
- Author:
- Stian Thorgersen
-
-
Constructor Summary
Constructors Constructor Description ClasspathThemeProvider(Map<Theme.Type,Map<String,ClassLoaderTheme>> themes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
getProviderPriority()
Theme
getTheme(String name, Theme.Type type)
boolean
hasTheme(String name, Theme.Type type)
Set<String>
nameSet(Theme.Type type)
-
-
-
Constructor Detail
-
ClasspathThemeProvider
public ClasspathThemeProvider(Map<Theme.Type,Map<String,ClassLoaderTheme>> themes)
-
-
Method Detail
-
getProviderPriority
public int getProviderPriority()
- Specified by:
getProviderPriority
in interfaceThemeProvider
-
getTheme
public Theme getTheme(String name, Theme.Type type) throws IOException
- Specified by:
getTheme
in interfaceThemeProvider
- Throws:
IOException
-
nameSet
public Set<String> nameSet(Theme.Type type)
- Specified by:
nameSet
in interfaceThemeProvider
-
hasTheme
public boolean hasTheme(String name, Theme.Type type)
- Specified by:
hasTheme
in interfaceThemeProvider
-
-