You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2012/11/26 13:38:58 UTC

[jira] [Commented] (OWB-730) remove InjectionTargetWrapper

    [ https://issues.apache.org/jira/browse/OWB-730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503759#comment-13503759 ] 

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: https://issues.apache.org/jira/browse/OWB-730
>             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: http://www.atlassian.com/software/jira