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

Tomas Remes (JIRA) issues at jboss.org
Thu Mar 10 06:45:00 EST 2016


    [ https://issues.jboss.org/browse/CDI-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174823#comment-13174823 ] 

Tomas Remes commented on CDI-550:
---------------------------------

I opened https://github.com/cdi-spec/cdi/pull/281

> 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.4.11#64026)


More information about the cdi-dev mailing list