Interface Startable


@Contract public interface Startable
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
    Start this service.
  • Method Details

    • startService

      void startService()
      Start this service.