Package org.keycloak.cluster.infinispan
Class InfinispanClusterProviderFactory
- java.lang.Object
-
- org.keycloak.cluster.infinispan.InfinispanClusterProviderFactory
-
- All Implemented Interfaces:
ClusterProviderFactory,ProviderFactory<ClusterProvider>
public class InfinispanClusterProviderFactory extends Object implements ClusterProviderFactory
This impl is aware of Cross-Data-Center scenario too- Author:
- Marek Posolda
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classInfinispanClusterProviderFactory.ViewChangeListener
-
Field Summary
Fields Modifier and Type Field Description protected static org.jboss.logging.Loggerloggerstatic StringPROVIDER_ID
-
Constructor Summary
Constructors Constructor Description InfinispanClusterProviderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ClusterProvidercreate(KeycloakSession session)StringgetId()voidinit(Config.Scope config)protected intinitClusterStartupTime(KeycloakSession session)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
order
-
-
-
-
Field Detail
-
PROVIDER_ID
public static final String PROVIDER_ID
- See Also:
- Constant Field Values
-
logger
protected static final org.jboss.logging.Logger logger
-
-
Method Detail
-
create
public ClusterProvider create(KeycloakSession session)
- Specified by:
createin interfaceProviderFactory<ClusterProvider>
-
initClusterStartupTime
protected int initClusterStartupTime(KeycloakSession session)
-
init
public void init(Config.Scope config)
- Specified by:
initin interfaceProviderFactory<ClusterProvider>
-
postInit
public void postInit(KeycloakSessionFactory factory)
- Specified by:
postInitin interfaceProviderFactory<ClusterProvider>
-
close
public void close()
- Specified by:
closein interfaceProviderFactory<ClusterProvider>
-
getId
public String getId()
- Specified by:
getIdin interfaceProviderFactory<ClusterProvider>
-
-