Package org.keycloak.models.jpa
Class JpaRealmProviderFactory
java.lang.Object
org.keycloak.models.jpa.JpaRealmProviderFactory
- All Implemented Interfaces:
RealmProviderFactory,ProviderEventListener,ProviderFactory
public class JpaRealmProviderFactory
extends Object
implements RealmProviderFactory, ProviderEventListener
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()This is called when the server shuts down.create(KeycloakSession session) getId()voidinit(Config.Scope config) Only called once when the factory is first created.voidonEvent(ProviderEvent event) intorder()voidpostInit(KeycloakSessionFactory factory) Called after all provider factories have been initializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata
-
Field Details
-
PROVIDER_ID
- See Also:
-
PROVIDER_PRIORITY
public static final int PROVIDER_PRIORITY- See Also:
-
-
Constructor Details
-
JpaRealmProviderFactory
public JpaRealmProviderFactory()
-
-
Method Details
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created.- Specified by:
initin interfaceProviderFactory
-
postInit
Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
postInitin interfaceProviderFactory
-
getId
- Specified by:
getIdin interfaceProviderFactory
-
create
- Specified by:
createin interfaceProviderFactory
-
close
public void close()Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
closein interfaceProviderFactory
-
onEvent
- Specified by:
onEventin interfaceProviderEventListener
-
order
public int order()- Specified by:
orderin interfaceProviderFactory
-