public class DefaultInfinispanConnectionProviderFactory extends Object implements InfinispanConnectionProviderFactory
Modifier and Type | Field and Description |
---|---|
protected org.infinispan.manager.EmbeddedCacheManager |
cacheManager |
protected Config.Scope |
config |
protected boolean |
containerManaged |
protected static org.jboss.logging.Logger |
logger |
protected RemoteCacheProvider |
remoteCacheProvider |
Constructor and Description |
---|
DefaultInfinispanConnectionProviderFactory() |
Modifier and Type | Method and Description |
---|---|
void |
close()
This is called when the server shuts down.
|
protected void |
configureTransport(org.infinispan.configuration.global.GlobalConfigurationBuilder gcb,
String nodeName,
String siteName,
String jgroupsUdpMcastAddr) |
InfinispanConnectionProvider |
create(KeycloakSession session) |
String |
getId() |
protected org.infinispan.configuration.cache.Configuration |
getKeysCacheConfig() |
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
protected void |
initContainerManaged(org.infinispan.manager.EmbeddedCacheManager cacheManager) |
protected void |
initEmbedded() |
protected void |
lazyInit() |
void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
order
protected static final org.jboss.logging.Logger logger
protected Config.Scope config
protected org.infinispan.manager.EmbeddedCacheManager cacheManager
protected RemoteCacheProvider remoteCacheProvider
protected boolean containerManaged
public DefaultInfinispanConnectionProviderFactory()
public InfinispanConnectionProvider create(KeycloakSession session)
create
in interface ProviderFactory<InfinispanConnectionProvider>
public void close()
ProviderFactory
close
in interface ProviderFactory<InfinispanConnectionProvider>
public String getId()
getId
in interface ProviderFactory<InfinispanConnectionProvider>
public void init(Config.Scope config)
ProviderFactory
init
in interface ProviderFactory<InfinispanConnectionProvider>
public void postInit(KeycloakSessionFactory factory)
ProviderFactory
postInit
in interface ProviderFactory<InfinispanConnectionProvider>
protected void lazyInit()
protected void initContainerManaged(org.infinispan.manager.EmbeddedCacheManager cacheManager)
protected void initEmbedded()
protected org.infinispan.configuration.cache.Configuration getKeysCacheConfig()
Copyright © 2020 JBoss by Red Hat. All rights reserved.