-
public interface HelidonContainerHelidon 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 Contextcontext()The root context of MP.static HelidonContainerinstance()Get the (initialized or started) container.voidshutdown()Shutdown the container (and CDI).javax.enterprise.inject.se.SeContainerstart()Start the container.
-
-
-
Method Detail
-
start
javax.enterprise.inject.se.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).
-
-