Package org.keycloak.theme
Class JarThemeProviderFactory
- java.lang.Object
-
- org.keycloak.theme.ClasspathThemeProviderFactory
-
- org.keycloak.theme.JarThemeProviderFactory
-
- All Implemented Interfaces:
ProviderFactory<ThemeProvider>
,ThemeProviderFactory
public class JarThemeProviderFactory extends ClasspathThemeProviderFactory
- Author:
- Stian Thorgersen
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.keycloak.theme.ClasspathThemeProviderFactory
ClasspathThemeProviderFactory.ThemeRepresentation, ClasspathThemeProviderFactory.ThemesRepresentation
-
-
Field Summary
-
Fields inherited from class org.keycloak.theme.ClasspathThemeProviderFactory
KEYCLOAK_THEMES_JSON, themes
-
-
Constructor Summary
Constructors Constructor Description JarThemeProviderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThemeProvider
create(KeycloakSession session)
void
init(Config.Scope config)
Only called once when the factory is first created.-
Methods inherited from class org.keycloak.theme.ClasspathThemeProviderFactory
close, getId, loadThemes, loadThemes, postInit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, order
-
-
-
-
Method Detail
-
create
public ThemeProvider create(KeycloakSession session)
- Specified by:
create
in interfaceProviderFactory<ThemeProvider>
- Overrides:
create
in classClasspathThemeProviderFactory
-
init
public void init(Config.Scope config)
Description copied from interface:ProviderFactory
Only called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
init
in interfaceProviderFactory<ThemeProvider>
- Overrides:
init
in classClasspathThemeProviderFactory
-
-