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 Description static StringREALM_CLEAR_CACHE_EVENTSstatic StringREALM_INVALIDATION_EVENTSprotected RealmCacheManagerrealmCache
-
Constructor Summary
Constructors Constructor Description InfinispanCacheRealmProviderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()CacheRealmProvidercreate(KeycloakSession session)StringgetId()voidinit(Config.Scope config)voidpostInit(KeycloakSessionFactory factory)-
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
-
-
-
-
Field Detail
-
REALM_CLEAR_CACHE_EVENTS
public static final String REALM_CLEAR_CACHE_EVENTS
- See Also:
- Constant Field Values
-
REALM_INVALIDATION_EVENTS
public static final String REALM_INVALIDATION_EVENTS
- See Also:
- Constant Field Values
-
realmCache
protected volatile RealmCacheManager realmCache
-
-
Method Detail
-
create
public CacheRealmProvider create(KeycloakSession session)
- Specified by:
createin interfaceProviderFactory<CacheRealmProvider>
-
init
public void init(Config.Scope config)
- Specified by:
initin interfaceProviderFactory<CacheRealmProvider>
-
postInit
public void postInit(KeycloakSessionFactory factory)
- Specified by:
postInitin interfaceProviderFactory<CacheRealmProvider>
-
close
public void close()
- Specified by:
closein interfaceProviderFactory<CacheRealmProvider>
-
getId
public String getId()
- Specified by:
getIdin interfaceProviderFactory<CacheRealmProvider>
-
-