openwebbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <>
Subject [jira] [Commented] (OWB-730) remove InjectionTargetWrapper
Date Mon, 26 Nov 2012 12:38:58 GMT


Mark Struberg commented on OWB-730:

RIP InjectionTargetWrapper.

We might now think about storing the Producer<T> in the OwbBean by extending OwbBean
with a Producer<T> getProducer() method and remove the 2 Producer (former InjectionTargetWrapper)
lists from the BeanManager.

Most Beans actually have a Producer. For those who don't we could return null. Or we move
them to InjectionTargetBean and a new interface ProducerBean. 
> remove InjectionTargetWrapper
> -----------------------------
>                 Key: OWB-730
>                 URL:
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.0
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: 1.2.0
> InjectionTargetWrapper should not be needed. InjectionTarget extends Producer. We can
simply store the Producers directly and perform additional tasks if we found an InjectionTarget.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message