[cdi-dev] [JBoss JIRA] (CDI-52) Make it clearer that an InjectionPoint injected into a disposer method refers to the producer method bean and not to the declaring bean

Jozef Hartinger (Reopened) (JIRA) jira-events at lists.jboss.org
Tue Nov 8 04:45:45 EST 2011


     [ https://issues.jboss.org/browse/CDI-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jozef Hartinger reopened CDI-52:
--------------------------------



The spec says:

{quote}An instance of InjectionPoint may represent:
• an injected field or a *parameter* of a bean constructor, initializer method, producer method, disposer method or observ-er method, or
• an instance obtained dynamically using Instance.get().
{quote}

Besides fields and parameters, it does not mention other member types. However, later in the text, the spec clarifies:

{quote}The InjectionPoint injected into a disposer method represents the producer method for which the disposer method is be-
ing invoked.
{quote}

It is unclear how the producer method is represented by an InjectionPoint instance.
                
> Make it clearer that an InjectionPoint injected into a disposer method refers to the producer method bean and not to the declaring bean
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CDI-52
>                 URL: https://issues.jboss.org/browse/CDI-52
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>          Components: Beans
>    Affects Versions: 1.0
>            Reporter: Pete Muir
>            Assignee: Pete Muir
>             Fix For: 1.1.EDR2
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the cdi-dev mailing list