Class DefaultCacheEmbeddedConfigProviderFactory
java.lang.Object
org.keycloak.spi.infinispan.impl.embedded.DefaultCacheEmbeddedConfigProviderFactory
- All Implemented Interfaces:
ProviderFactory<CacheEmbeddedConfigProvider>,CacheEmbeddedConfigProviderFactory
public class DefaultCacheEmbeddedConfigProviderFactory
extends Object
implements CacheEmbeddedConfigProviderFactory
The default implementation of
CacheEmbeddedConfigProviderFactory.
It builds a ConfigurationBuilderHolder based on the Keycloak configuration.
Advanced users may extend this class and overwrite the method createConfiguration(KeycloakSessionFactory).
They have access to the ConfigurationBuilderHolder, and they can modify it as needed for their custom
providers.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()create(KeycloakSession session) protected org.infinispan.configuration.parsing.ConfigurationBuilderHoldergetId()voidinit(Config.Scope config) voidpostInit(KeycloakSessionFactory factory) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ProviderFactory
order
-
Field Details
-
PROVIDER_ID
- See Also:
-
CONFIG
- See Also:
-
CONFIG_MUTATE
- See Also:
-
TRACING
- See Also:
-
STACK
- See Also:
-
NODE_NAME
- See Also:
-
SITE_NAME
- See Also:
-
MACHINE_NAME
- See Also:
-
RACK_NAME
- See Also:
-
-
Constructor Details
-
DefaultCacheEmbeddedConfigProviderFactory
public DefaultCacheEmbeddedConfigProviderFactory()
-
-
Method Details
-
create
- Specified by:
createin interfaceProviderFactory<CacheEmbeddedConfigProvider>
-
init
- Specified by:
initin interfaceProviderFactory<CacheEmbeddedConfigProvider>
-
postInit
- Specified by:
postInitin interfaceProviderFactory<CacheEmbeddedConfigProvider>
-
close
public void close()- Specified by:
closein interfaceProviderFactory<CacheEmbeddedConfigProvider>
-
getId
- Specified by:
getIdin interfaceProviderFactory<CacheEmbeddedConfigProvider>
-
getConfigMetadata
- Specified by:
getConfigMetadatain interfaceProviderFactory<CacheEmbeddedConfigProvider>
-
dependsOn
- Specified by:
dependsOnin interfaceProviderFactory<CacheEmbeddedConfigProvider>
-
createConfiguration
protected org.infinispan.configuration.parsing.ConfigurationBuilderHolder createConfiguration(KeycloakSessionFactory factory) throws IOException - Throws:
IOException
-