Package org.keycloak.models.jpa
Class JpaRealmProviderFactory
- java.lang.Object
-
- org.keycloak.models.jpa.JpaRealmProviderFactory
-
- All Implemented Interfaces:
RealmProviderFactory,ProviderEventListener,ProviderFactory<RealmProvider>
public class JpaRealmProviderFactory extends Object implements RealmProviderFactory, ProviderEventListener
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROVIDER_IDstatic intPROVIDER_PRIORITY
-
Constructor Summary
Constructors Constructor Description JpaRealmProviderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()JpaRealmProvidercreate(KeycloakSession session)StringgetId()voidinit(Config.Scope config)voidonEvent(ProviderEvent event)intorder()voidpostInit(KeycloakSessionFactory factory)
-
-
-
Field Detail
-
PROVIDER_ID
public static final String PROVIDER_ID
- See Also:
- Constant Field Values
-
PROVIDER_PRIORITY
public static final int PROVIDER_PRIORITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(Config.Scope config)
- Specified by:
initin interfaceProviderFactory<RealmProvider>
-
postInit
public void postInit(KeycloakSessionFactory factory)
- Specified by:
postInitin interfaceProviderFactory<RealmProvider>
-
getId
public String getId()
- Specified by:
getIdin interfaceProviderFactory<RealmProvider>
-
create
public JpaRealmProvider create(KeycloakSession session)
- Specified by:
createin interfaceProviderFactory<RealmProvider>
-
close
public void close()
- Specified by:
closein interfaceProviderFactory<RealmProvider>
-
onEvent
public void onEvent(ProviderEvent event)
- Specified by:
onEventin interfaceProviderEventListener
-
order
public int order()
- Specified by:
orderin interfaceProviderFactory<RealmProvider>
-
-