ay obtain an instance of <code>BeanManager</code> from <a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.naming/javax/naming/package-summary.html" class="external-link">JNDI</a> by looking up the
 name <code>java:comp/BeanManager</code>.
 </p>

 <p>
 Most operations of BeanManager may be called at any time during the execution of the application.
 </p>
 <p>
 However, the following operations must not be called before the <a href="AfterBeanDiscovery.html" title="interface in jakarta.enterprise