[weld-issues] [JBoss JIRA] Updated: (WELD-358) InjectionPoint parameter on disposer method is null

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Nov 30 11:31:09 EST 2010


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

Pete Muir updated WELD-358:
---------------------------

    Issue Type: Feature Request  (was: Bug)


Making feature request as this is not required in CDI 1.0.

We will need to introduce extra validation such that the implementation of InjectionPoint itself must be serializable if the produced bean is passivation capable (or the like), as we cannot reconstruct the injectionpoint on destroy, and so need store the IP alongside the instance.

> InjectionPoint parameter on disposer method is null
> ---------------------------------------------------
>
>                 Key: WELD-358
>                 URL: https://jira.jboss.org/browse/WELD-358
>             Project: Weld
>          Issue Type: Feature Request
>          Components: Producers (Methods, Fields and Disposers)
>    Affects Versions: 1.0.0.GA
>            Reporter: David Allen
>             Fix For: Spec Clarification Required
>
>
> Adding a parameter of type InjectionPoint on a disposer method should inject the corresponding meta-data for the place where the bean had been injected; for the bean being destroyed.
> See http://www.seamframework.org/Community/DisposingAndInjectionPointIntegration#comment111793 and the Weld test org.jboss.weld.tests.producer.method.DisposalMethodInjectionPointTest.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list