org.keycloak.theme

## Class DefaultThemeManagerFactory

- java.lang.Object
- - org.keycloak.theme.DefaultThemeManagerFactory

-     public class DefaultThemeManagerFactory
      extends Object

  Author:
    Stian Thorgersen

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `DefaultThemeManagerFactory.ThemeKey`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultThemeManagerFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Theme` | `addCachedTheme(String name, Theme.Type type, Theme theme)`
    `void` | `clearCache()`
    `ThemeManager` | `create(KeycloakSession session)`
    `Theme` | `getCachedTheme(String name, Theme.Type type)`
    `boolean` | `isCacheEnabled()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultThemeManagerFactory

          public DefaultThemeManagerFactory()

  - ### Method Detail

    - #### create

          public ThemeManager create(KeycloakSession session)

    - #### getCachedTheme

          public Theme getCachedTheme(String name,
                                      Theme.Type type)

    - #### addCachedTheme

          public Theme addCachedTheme(String name,
                                      Theme.Type type,
                                      Theme theme)

    - #### isCacheEnabled

          public boolean isCacheEnabled()

    - #### clearCache

          public void clearCache()

Copyright © 2021 JBoss by Red Hat. All rights reserved.