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

Interceptor for lifecycle callback with binding type @Target({TYPE, METHOD}) not detected as definition error

    XMLWordPrintable

Details

    Description

      Spec says:
      An interceptor for lifecycle callbacks may only declare interceptor binding types that are defined as @Target(TYPE). If an
      interceptor for lifecycle callbacks declares an interceptor binding type that is defined @Target(

      {TYPE, METHOD}

      ), the con-
      tainer automatically detects the problem and treats it as a definition error.

      org.jboss.jsr299.tck.tests.interceptors.definition.broken.interceptorForLifecycleTargetMethod.InterceptorForLifecycleTargetMethodTest

      In the TCK trunk

      Attachments

        Activity

          People

            rhn-engineering-jharting Jozef Hartinger
            oskutka@redhat.com Ondrej Skutka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: