Class ExampleJpaEntityProviderFactory
- java.lang.Object
-
- org.keycloak.examples.domainextension.jpa.ExampleJpaEntityProviderFactory
-
- All Implemented Interfaces:
JpaEntityProviderFactory,ProviderFactory<JpaEntityProvider>
public class ExampleJpaEntityProviderFactory extends Object implements JpaEntityProviderFactory
- Author:
- Erik Mulder Example JpaEntityProviderFactory.
-
-
Constructor Summary
Constructors Constructor Description ExampleJpaEntityProviderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()JpaEntityProvidercreate(KeycloakSession session)StringgetId()voidinit(Config.Scope config)voidpostInit(KeycloakSessionFactory factory)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.provider.ProviderFactory
order
-
-
-
-
Field Detail
-
ID
protected static final String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public JpaEntityProvider create(KeycloakSession session)
- Specified by:
createin interfaceProviderFactory<JpaEntityProvider>
-
getId
public String getId()
- Specified by:
getIdin interfaceProviderFactory<JpaEntityProvider>
-
init
public void init(Config.Scope config)
- Specified by:
initin interfaceProviderFactory<JpaEntityProvider>
-
postInit
public void postInit(KeycloakSessionFactory factory)
- Specified by:
postInitin interfaceProviderFactory<JpaEntityProvider>
-
close
public void close()
- Specified by:
closein interfaceProviderFactory<JpaEntityProvider>
-
-