]
Antoine Sabot-Durand commented on CDI-639:
------------------------------------------
+1 to remove it.
I can find a use case since IPC is used to change configuration of existing IP. Changing
the bean of an existing IP doesn't make sense.
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.