Interface Startable


@Deprecated(forRemoval=true, since="4.0.8") @Contract public interface Startable
Deprecated, for removal: This API element is subject to removal in a future version.
Helidon inject is deprecated and will be replaced in a future version
Some components may require start when Helidon is bootstrapped, such as WebServer (to open server sockets). This interface is a Helidon Injection contract, that allows us to discover all startable services and start them on boot when desired.

This contract should be used for cases where the construction of the object (using constructor, and maybe PostConstruct - where we create a fully configured instance) is different from its start transition (such as opening sockets, connecting to remote messaging queues, streams, topics, etc.).

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Start this service.
  • Method Details

    • startService

      void startService()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Start this service.