Module jakarta.cdi

Interface BeanContainer

All Known Subinterfaces:
BeanManager

public interface BeanContainer

BeanContainer is a superclass of BeanManager containing capabilities that are portable across all CDI environments.

Provides operations for obtaining contextual references for beans, along with many other operations of use to CDI applications.

Any bean may obtain an instance of BeanContainer by injecting it:

 @Inject
 BeanContainer container;
 
Since:
4.0