public abstract class AbstractMapProviderFactory<T extends Provider,V extends AbstractEntity,M> extends Object implements AmphibianProviderFactory<T>, EnvironmentDependentProviderFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_STORAGE |
protected org.jboss.logging.Logger |
LOG |
protected Class<M> |
modelType |
static String |
PROVIDER_ID |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMapProviderFactory(Class<M> modelType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
protected MapStorage<V,M> |
getStorage(KeycloakSession session) |
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
boolean |
isSupported() |
void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, create, create, getConfigProperties, onUpdate, preRemovegetCommonProviderConfigProperties, getTypeMetadata, onCreate, validateConfigurationordergetHelpTextpublic static final String PROVIDER_ID
public static final String CONFIG_STORAGE
protected final org.jboss.logging.Logger LOG
public String getId()
getId in interface ProviderFactory<T extends Provider>protected MapStorage<V,M> getStorage(KeycloakSession session)
public void postInit(KeycloakSessionFactory factory)
ProviderFactorypostInit in interface ProviderFactory<T extends Provider>public void init(Config.Scope config)
ProviderFactoryinit in interface ProviderFactory<T extends Provider>public boolean isSupported()
isSupported in interface EnvironmentDependentProviderFactorytrue if the provider is supported and should be available, false otherwiseCopyright © 2021 JBoss by Red Hat. All rights reserved.