openwebbeans-dev mailing list archives

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

    [ 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

Mime
View raw message