| 
  Java Platform, Enterprise Edition (Java EE) 8 The Java EE Tutorial  | 
  
| Previous | Next | Contents | 
The API for bootstrapping a CDI container in Java SE consists of the following entities:
javax.enterprise.inject.se.SeContainerInitializer 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.
javax.enterprise.inject.se.SeContainer interface – Provides access to the BeanManager instance for programmatic lookup, as defined in the SeContainer interface, which is described at http://docs.jboss.org/cdi/spec/2.0/cdi-spec.html#se_container.
| Previous | Next | Contents | 
 			
		Copyright © 2017, Oracle and/or its affiliates. All rights reserved.