Interface HelidonContainer


public interface HelidonContainer
Helidon CDI Container, separates initialization and runtime phases of the bootstrapping. Initialization is static to support GraalVM native image, start is controlled by application.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    The root context of MP.
    Get the (initialized or started) container.
    void
    Shutdown the container (and CDI).
    Start the container.
  • Method Details

    • start

      SeContainer start()
      Start the container. This will finish the lifecycle of CDI implementation. If already started, this method is a noop.
      Returns:
      the started container
    • context

      Context context()
      The root context of MP.
      Returns:
      context
    • instance

      static HelidonContainer instance()
      Get the (initialized or started) container.
      Returns:
      the singleton instance of container
    • shutdown

      void shutdown()
      Shutdown the container (and CDI).