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 SummaryFields Modifier and Type Field Description static StringREALM_CLEAR_CACHE_EVENTSstatic StringREALM_INVALIDATION_EVENTSprotected RealmCacheManagerrealmCache
 - 
Constructor SummaryConstructors Constructor Description InfinispanCacheRealmProviderFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()This is called when the server shuts down.CacheRealmProvidercreate(KeycloakSession session)StringgetId()voidinit(Config.Scope config)Only called once when the factory is first created.voidpostInit(KeycloakSessionFactory factory)Called after all provider factories have been initialized- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.provider.ProviderFactorygetConfigMetadata, order
 
- 
 
- 
- 
- 
Field Detail- 
REALM_CLEAR_CACHE_EVENTSpublic static final String REALM_CLEAR_CACHE_EVENTS - See Also:
- Constant Field Values
 
 - 
REALM_INVALIDATION_EVENTSpublic static final String REALM_INVALIDATION_EVENTS - See Also:
- Constant Field Values
 
 - 
realmCacheprotected volatile RealmCacheManager realmCache 
 
- 
 - 
Method Detail- 
createpublic CacheRealmProvider create(KeycloakSession session) - Specified by:
- createin interface- ProviderFactory<CacheRealmProvider>
 
 - 
initpublic void init(Config.Scope config) Description copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
- initin interface- ProviderFactory<CacheRealmProvider>
 
 - 
postInitpublic void postInit(KeycloakSessionFactory factory) Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
- postInitin interface- ProviderFactory<CacheRealmProvider>
 
 - 
closepublic void close() Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
- closein interface- ProviderFactory<CacheRealmProvider>
 
 - 
getIdpublic String getId() - Specified by:
- getIdin interface- ProviderFactory<CacheRealmProvider>
 
 
- 
 
-