ry.addBean()</code></a> or <a href="AfterBeanDiscovery.html#addBean(jakarta.enterprise.inject.spi.Bean)"><code>AfterBeanDiscovery.addBean(Bean)</code></a>, before registering the
 <a href="Bean.html" title="interface in jakarta.enterprise.inject.spi"><code>Bean</code></a> object.
 </p>
 <p>
 If any observer method of a <code>ProcessSyntheticBean</code> event throws an exception, the exception is treated as a definition
 error by the container.
 </p>

 <p>CDI Lite implementations are not required to provide 