Class KeycloakInitService

java.lang.Object
org.openremote.manager.setup.KeycloakInitService
All Implemented Interfaces:
org.openremote.model.ContainerService

public class KeycloakInitService extends Object implements 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    void
    init(org.openremote.model.Container container)
     
    protected static void
    pingKeycloak(org.openremote.container.security.keycloak.KeycloakResource resource)
     
    void
    start(org.openremote.model.Container container)
     
    void
    stop(org.openremote.model.Container container)
     
    static void
    waitForKeycloak(org.openremote.model.Container container)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KeycloakInitService

      public KeycloakInitService()
  • Method Details

    • init

      public void init(org.openremote.model.Container container) throws Exception
      Specified by:
      init in interface org.openremote.model.ContainerService
      Throws:
      Exception
    • start

      public void start(org.openremote.model.Container container) throws Exception
      Specified by:
      start in interface org.openremote.model.ContainerService
      Throws:
      Exception
    • stop

      public void stop(org.openremote.model.Container container) throws Exception
      Specified by:
      stop in interface org.openremote.model.ContainerService
      Throws:
      Exception
    • getPriority

      public int getPriority()
      Specified by:
      getPriority in interface org.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