org.keycloak.models.cache.infinispan

## Class InfinispanCacheRealmProviderFactory

- java.lang.Object
- - org.keycloak.models.cache.infinispan.InfinispanCacheRealmProviderFactory

- All Implemented Interfaces:
    CacheRealmProviderFactory, ProviderFactory<CacheRealmProvider>

      public class InfinispanCacheRealmProviderFactory
      extends Object
      implements CacheRealmProviderFactory

  Author:
    Bill Burke, Stian Thorgersen

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected ConcurrentHashMap<String,String>` | `realmLookup`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `InfinispanCacheRealmProviderFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `CacheRealmProvider` | `create(KeycloakSession session)`
    `String` | `getId()`
    `void` | `init(Config.Scope config)`

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

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

- - ### Field Detail

    - #### realmLookup

          protected final ConcurrentHashMap<String,String> realmLookup

  - ### Constructor Detail

    - #### InfinispanCacheRealmProviderFactory

          public InfinispanCacheRealmProviderFactory()

  - ### Method Detail

    - #### create

          public CacheRealmProvider create(KeycloakSession session)

      Specified by:
        `create` in interface `ProviderFactory<CacheRealmProvider>`

    - #### init

          public void init(Config.Scope config)

      Specified by:
        `init` in interface `ProviderFactory<CacheRealmProvider>`

    - #### close

          public void close()

      Specified by:
        `close` in interface `ProviderFactory<CacheRealmProvider>`

    - #### getId

          public String getId()

      Specified by:
        `getId` in interface `ProviderFactory<CacheRealmProvider>`

Copyright © 2014. All Rights Reserved.