[cdi-dev] [JBoss JIRA] (CDI-550) Misleading AfterBeanDiscovery.addBean() description WRT interceptors and decorators

Martin Kouba (JIRA) issues at jboss.org
Thu Jul 23 03:40:03 EDT 2015


Martin Kouba created CDI-550:
--------------------------------

             Summary: 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the cdi-dev mailing list