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 AtomicBooleanBOOTSTRAP_ADMIN_USERprotected Set<Class<?>>classesprotected PlatformProviderplatformprotected 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 ExportImportManagerbootstrap()protected KeycloakSessionFactorycreateSessionFactory()Set<Class<?>>getClasses()static KeycloakSessionFactorygetSessionFactory()Set<Object>getSingletons()voidimportAddUser()voidimportRealm(RealmRepresentation rep, String from)voidimportRealms(ExportImportManager exportImportManager)protected voidloadConfig()protected voidshutdown()protected voidstartup()
-
-
-
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:
getClassesin classjavax.ws.rs.core.Application
-
getSingletons
public Set<Object> getSingletons()
- Overrides:
getSingletonsin classjavax.ws.rs.core.Application
-
importRealms
public void importRealms(ExportImportManager exportImportManager)
-
importRealm
public void importRealm(RealmRepresentation rep, String from)
-
importAddUser
public void importAddUser()
-
-