[weld-issues] [JBoss JIRA] Closed: (WELD-557) InjectionTarget methods called with a proxied instance

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Aug 4 11:38:49 EDT 2010


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

Pete Muir closed WELD-557.
--------------------------

         Assignee: Pete Muir  (was: Marius Bogoevici)
    Fix Version/s:     (was: 1.1.0.BETA1)
       Resolution: Rejected


Weld is following the spec, spec issue opened to clarify language.

Linked interceptor/decorator subclass issue will remove the problem seen by Jozef.

Closing issue as this is tracking nothing.

> InjectionTarget methods called with a proxied instance
> ------------------------------------------------------
>
>                 Key: WELD-557
>                 URL: https://jira.jboss.org/browse/WELD-557
>             Project: Weld
>          Issue Type: Bug
>    Affects Versions: 1.0.1.Final
>            Reporter: Jozef Hartinger
>            Assignee: Pete Muir
>            Priority: Critical
>
> Let's have a bean whose InjectionTarget is wrapped by an extension to provide additional dependency injection, etc...
> Although it is not explicitly stated in the spec, it is obvious that inject(), postConstruct() and preDestroy() methods of the InjectionTarget should be called with the actual raw bean instance and not with a client proxy.
> org.jboss.weld.tests.extensions.injectionTarget.InjectionTargetTest
> (Consider moving the test into the TCK if the presumtion can be implied)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list