-
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 Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Context
context()
The root context of MP.static HelidonContainer
instance()
Get the (initialized or started) container.void
shutdown()
Shutdown the container (and CDI).SeContainer
start()
Start the container.
-
-
-
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).
-
-