akarta.enterprise.inject.spi">BeanManager</a>&nbsp;getBeanManager()</pre>
<div class="block">Get the CDI BeanManager for this container</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the BeanManager</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code> - if called when the container is already shutdown