Class RestateHttpEndpointBean

java.lang.Object
dev.restate.sdk.springboot.RestateHttpEndpointBean
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

@Component @EnableConfigurationProperties({RestateEndpointHttpServerProperties.class,RestateEndpointProperties.class}) public class RestateHttpEndpointBean extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.context.SmartLifecycle
Restate HTTP Endpoint serving RestateComponent.
See Also:
  • Component
  • Constructor Details

  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • start

      public void start()
      Specified by:
      start in interface org.springframework.context.Lifecycle
    • stop

      public void stop()
      Specified by:
      stop in interface org.springframework.context.Lifecycle
    • isRunning

      public boolean isRunning()
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle
    • actualPort

      public int actualPort()