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

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

    Details

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated: