Manages the lifecycle of an Akka HTTP ServerBinding, ensuring its lifecycle matches that of the containing
Spring application context.
This is an internal management class and is not intended for direct use. An instance is automatically created by
[AkkaHttpServerAutoConfiguration].
The Spring lifecycle phase (default 10) can be adjusted by setting the http.server.lifecycle.phase configuration
property. Note that the phase MUST be greater than that of the ActorSystemLifecycle bean to ensure the underlying
ActorSystem is started before, and is terminated after, the Akka HTTP server.
Linear Supertypes
StrictLogging, AkkaStreamsAutowiredImplicits, AkkaAutowiredImplicits, SmartLifecycle, Phased, Lifecycle, AnyRef, Any
Manages the lifecycle of an Akka HTTP
ServerBinding
, ensuring its lifecycle matches that of the containing Spring application context.This is an internal management class and is not intended for direct use. An instance is automatically created by [AkkaHttpServerAutoConfiguration].
The Spring lifecycle phase (default 10) can be adjusted by setting the http.server.lifecycle.phase configuration property. Note that the phase MUST be greater than that of the ActorSystemLifecycle bean to ensure the underlying ActorSystem is started before, and is terminated after, the Akka HTTP server.