="member-signature"><span class="modifiers">default</span>&nbsp;<span class="return-type"><a href="Bean.html" title="interface in jakarta.enterprise.inject.spi">Bean</a>&lt;?&gt;</span>&nbsp;<span class="element-name">getDeclaringBean</span>()</div>
<div class="block"><p>
 Obtains the <a href="Bean.html" title="interface in jakarta.enterprise.inject.spi">bean</a> that declares the observer method.
 For synthetic observers, the return value is undefined.
 </p>

 <p>
 For the sake of compatibility with existi