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

InjectionTarget methods called with a proxied instance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • 1.0.1.Final
    • None
    • None
    • Release Notes

      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)

              pmuiratbleepbleep Pete Muir (Inactive)
              rhn-engineering-jharting Jozef Hartinger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: