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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.CR1
    • 3.0.0.Beta1
    • None
    • None

      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.

              mkouba@redhat.com Martin Kouba
              tremes1@redhat.com Tomas Remes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: