public class JpaKeycloakSessionFactory extends Object implements KeycloakSessionFactory
Modifier and Type | Field and Description |
---|---|
protected javax.persistence.EntityManagerFactory |
emf |
Constructor and Description |
---|
JpaKeycloakSessionFactory() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
KeycloakSession |
create(ProviderSession providerSession) |
String |
getId() |
void |
init(Config.Scope config) |
public void init(Config.Scope config)
init
in interface ProviderFactory<KeycloakSession>
public String getId()
getId
in interface ProviderFactory<KeycloakSession>
public KeycloakSession create(ProviderSession providerSession)
create
in interface KeycloakSessionFactory
create
in interface ProviderFactory<KeycloakSession>
public void close()
close
in interface KeycloakSessionFactory
close
in interface ProviderFactory<KeycloakSession>
Copyright © 2014. All Rights Reserved.