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:
    Main
    • Method Detail

      • 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).