[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:41:02 EDT 2016
Tomas Remes created CDI-639:
-------------------------------
Summary: 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
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