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

InjectionTarget methods called with a proxied instance

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Rejected
    • 1.0.1.Final
    • None
    • None
    • None
    • 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)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: