<div dir="ltr">Hi,<div><br></div><div>When adding a manually constructed Bean<T> instance using AfterBeanDiscovery.addBean(Bean<?>), or using the AfterBeanDiscovery.addBean() method and the BeanConfigurator, the resulting bean can't be decorated.</div><div><br></div><div>This is because seemingly CDI expects the create() method of Bean<T> to locate the decorators itself and apply them to the instance it returns.</div><div><br></div><div>Using BeanManager.resolveDecorators one can obtain the Decorator<T> instances, but am I right that there's no portable way to actually apply those decorators to the bean instance?</div><div><br></div><div>Kind regards,</div><div>Arjan</div><div><br></div><div><br></div></div>