]
Tomas Remes commented on CDI-550:
---------------------------------
I opened
Misleading AfterBeanDiscovery.addBean() description WRT interceptors
and decorators
-----------------------------------------------------------------------------------
Key: CDI-550
URL:
https://issues.jboss.org/browse/CDI-550
Project: CDI Specification Issues
Issue Type: Clarification
Components: Portable Extensions
Affects Versions: 2.0-EDR1
Reporter: Martin Kouba
Priority: Minor
11.5.3. AfterBeanDiscovery event:
{quote}
* {{addBean()}} fires an event of type ProcessBean containing the given Bean and then
registers the Bean with the container, thereby making it available for injection into
other beans. The given Bean may implement Interceptor or Decorator.
{quote}
The wording is a bit misleading because interceptors and decorats are NOT available for
injection.