[cdi-dev] [JBoss JIRA] (CDI-639) Clarify purpose of InjectionPointConfigurator.bean(Bean<?> bean) method

Tomas Remes (JIRA) issues at jboss.org
Wed Oct 26 07:43:00 EDT 2016


     [ https://issues.jboss.org/browse/CDI-639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomas Remes updated CDI-639:
----------------------------
    Fix Version/s: 2.0 .Final


> Clarify purpose of InjectionPointConfigurator.bean(Bean<?> bean) method
> -----------------------------------------------------------------------
>
>                 Key: CDI-639
>                 URL: https://issues.jboss.org/browse/CDI-639
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>          Components: Portable Extensions
>    Affects Versions: 2.0-EDR2
>            Reporter: Tomas Remes
>             Fix For: 2.0 .Final
>
>
> Dear EG,
> I would like to ask for clarification of {{javax.enterprise.inject.spi.builder.InjectionPointConfigurator#bean}} method. I am not really sure what's the benefit of this method and what would be the suitable use case for this method. 
> I think using this method when I have my custom bean doesn't have any significant advantage since I can declare set of injection points in my custom bean impl. 
> Maybe I would remove this method from the {{InjectionPointConfigurator}} interface.



--
This message was sent by Atlassian JIRA
(v7.2.2#72004)


More information about the cdi-dev mailing list