Package org.openremote.manager.setup
Class KeycloakInitService
java.lang.Object
org.openremote.manager.setup.KeycloakInitService
- All Implemented Interfaces:
org.openremote.model.ContainerService
Service just to wait for keycloak availability
-
Field Summary
Fields inherited from interface org.openremote.model.ContainerService
DEFAULT_PRIORITY, HIGH_PRIORITY, LOW_PRIORITY, MED_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidinit(org.openremote.model.Container container) protected static voidpingKeycloak(org.openremote.container.security.keycloak.KeycloakResource resource) voidstart(org.openremote.model.Container container) voidstop(org.openremote.model.Container container) static voidwaitForKeycloak(org.openremote.model.Container container)
-
Constructor Details
-
KeycloakInitService
public KeycloakInitService()
-
-
Method Details
-
init
- Specified by:
initin interfaceorg.openremote.model.ContainerService- Throws:
Exception
-
start
- Specified by:
startin interfaceorg.openremote.model.ContainerService- Throws:
Exception
-
stop
- Specified by:
stopin interfaceorg.openremote.model.ContainerService- Throws:
Exception
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceorg.openremote.model.ContainerService
-
waitForKeycloak
public static void waitForKeycloak(org.openremote.model.Container container) -
pingKeycloak
protected static void pingKeycloak(org.openremote.container.security.keycloak.KeycloakResource resource) throws Exception - Throws:
Exception
-