Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-557

InjectionTarget methods called with a proxied instance

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Rejected
    • Affects Version/s: 1.0.1.Final
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Affects:
      Release Notes

      Description

      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)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pmuir Pete Muir
                  Reporter:
                  jharting Jozef Hartinger
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: