Package org.keycloak.services.resources
Class KeycloakApplication
- java.lang.Object
-
- javax.ws.rs.core.Application
-
- org.keycloak.services.resources.KeycloakApplication
-
public class KeycloakApplication extends javax.ws.rs.core.Application
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description static AtomicBoolean
BOOTSTRAP_ADMIN_USER
protected Set<Class<?>>
classes
protected PlatformProvider
platform
protected Set<Object>
singletons
-
Constructor Summary
Constructors Constructor Description KeycloakApplication()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ExportImportManager
bootstrap()
protected KeycloakSessionFactory
createSessionFactory()
Set<Class<?>>
getClasses()
static KeycloakSessionFactory
getSessionFactory()
Set<Object>
getSingletons()
void
importAddUser()
void
importRealm(RealmRepresentation rep, String from)
void
importRealms(ExportImportManager exportImportManager)
protected void
loadConfig()
protected void
shutdown()
protected void
startup()
-
-
-
Field Detail
-
BOOTSTRAP_ADMIN_USER
public static final AtomicBoolean BOOTSTRAP_ADMIN_USER
-
platform
protected final PlatformProvider platform
-
-
Method Detail
-
startup
protected void startup()
-
shutdown
protected void shutdown()
-
bootstrap
protected ExportImportManager bootstrap()
-
loadConfig
protected void loadConfig()
-
createSessionFactory
protected KeycloakSessionFactory createSessionFactory()
-
getSessionFactory
public static KeycloakSessionFactory getSessionFactory()
-
getClasses
public Set<Class<?>> getClasses()
- Overrides:
getClasses
in classjavax.ws.rs.core.Application
-
getSingletons
public Set<Object> getSingletons()
- Overrides:
getSingletons
in classjavax.ws.rs.core.Application
-
importRealms
public void importRealms(ExportImportManager exportImportManager)
-
importRealm
public void importRealm(RealmRepresentation rep, String from)
-
importAddUser
public void importAddUser()
-
-