]
Work on CDI-643 started by Antoine Sabot-Durand.
------------------------------------------------
Provide a way to easily configure injection point of an
InjectionTarget
-----------------------------------------------------------------------
Key: CDI-643
URL:
https://issues.jboss.org/browse/CDI-643
Project: CDI Specification Issues
Issue Type: Feature Request
Reporter: Antoine Sabot-Durand
Assignee: Antoine Sabot-Durand
Fix For: 2.0 .Final
Creating an {{InjectionTarget}} requires an AnnotatedType. It is often convenient to
create a custom {{AnnotatedType}} to add injection points in it (i.e. add {{@Inject}} on
fields or methods).
We Introduced the {{AnnotatedTypeConfigurator}} helper but didn't provide a way to
use it to create an {{InjectionTarget}}.
I think we should add {{BeanManager.createAnnotatedTypeConfigurator()}} to solve this and
perhaps simplify other places where we could use an {{AnnotatedTypeConfigurator}} like in
CDI-642