Allows a portable extension to interact directly with the container. Provides operations for obtaining contextual references for beans, along with many other operations of use to portable extensions.
Any bean may obtain an instance of BeanManager by injecting it:
@Inject BeanManager manager;
Java EE components may obtain an instance of BeanManager from {@linkplain javax.naming JNDI} by looking up the name{@code java:comp/BeanManager}.
Any operation of BeanManager may be called at any time during the execution of the application.
@author Gavin King
@author Pete Muir
@author Clint Popetz
@author David Allen