Java Platform, Enterprise Edition (Java EE) 8
The Java EE Tutorial

Previous Next Contents

The Bootstrap API

The API for bootstrapping a CDI container in Java SE consists of the following entities:

  • class – Allows you to configure and bootstrap the CDI container. This class includes the following key methods:

    • newInstance() obtains a SeContainerInitializer instance, which allows you to configure the container prior to bootstrapping it.

    • initialize() bootstraps the container.

  • interface – Provides access to the BeanManager instance for programmatic lookup, as defined in the SeContainer interface, which is described at

Previous Next Contents
Oracle Logo  Copyright © 2017, Oracle and/or its affiliates. All rights reserved.