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

Same multiple lifecycle callback interceptors at one class should cause a failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 2.3.3.Final
    • None

    Description

      Interceptor spec states:

      AroundConstruct lifecycle callback interceptor methods may be defined on superclasses of inter-
      ceptor classes. All other lifecycle callback interceptor methods may be defined on superclasses of the
      target class or of interceptor classes. However, a given class may not have more than one lifecycle call-
      back interceptor method for the same lifecycle event.

      Currently it seems that every lifecycle callback is called so e.g. it's possible to have two @PostConstruct methods at one interceptor class.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: