="interface in jakarta.enterprise.inject.spi">Extension</a>&nbsp;getSource()</pre>
<div class="block">Get the extension instance which added the <a href="Bean.html" title="interface in jakarta.enterprise.inject.spi"><code>Bean</code></a> for which this event is being fired.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the extension instance</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Ill