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

It's possible to add interceptor programmatically to instance created by container

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0.Beta1
    • Fix Version/s: 3.0.0.CR1
    • Component/s: None
    • Labels:
      None

      Description

      Spec states in 11.7. Apply interceptor programmatically:

      If (createInterceptedInstance())called on an instance created by the container, this
      method does nothing and returns the provided instance.

      Currently this method applies interceptor also to instance created by the container.
      Reproducible by org.jboss.cdi.tck.tests.extensions.interceptionFactory.InterceptionFactoryTest in TCK master.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mkouba Martin Kouba
                Reporter:
                tremes Tomas Remes
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: