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 TypeMethodDescriptioncontext()
The root context of MP.static HelidonContainer
instance()
Get the (initialized or started) container.void
shutdown()
Shutdown the container (and CDI).start()
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
Get the (initialized or started) container.- Returns:
- the singleton instance of container
-
shutdown
void shutdown()Shutdown the container (and CDI).
-