Package dev.restate.sdk.springboot
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
public class RestateHttpEndpointBean
extends Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.context.SmartLifecycle
Restate HTTP Endpoint serving
Endpoint-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsConstructorDescriptionRestateHttpEndpointBean(Endpoint endpoint, RestateHttpServerProperties restateHttpServerProperties) RestateHttpEndpointBean(org.springframework.context.ApplicationContext applicationContext, RestateEndpointProperties restateEndpointProperties, RestateHttpServerProperties restateHttpServerProperties) Deprecated. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.SmartLifecycle
getPhase, isAutoStartup, stop
-
Constructor Details
-
RestateHttpEndpointBean
public RestateHttpEndpointBean(Endpoint endpoint, RestateHttpServerProperties restateHttpServerProperties) -
RestateHttpEndpointBean
@Deprecated public RestateHttpEndpointBean(org.springframework.context.ApplicationContext applicationContext, RestateEndpointProperties restateEndpointProperties, RestateHttpServerProperties restateHttpServerProperties) Deprecated.
-
-
Method Details
-
afterPropertiesSet
Deprecated.- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
start
public void start()- Specified by:
startin interfaceorg.springframework.context.Lifecycle
-
stop
public void stop()- Specified by:
stopin interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle
-
actualPort
public int actualPort()
-