OpenWebBeans
  1. OpenWebBeans
  2. OWB-306

overrridden @AroundInvoke and lifecycle interceptors are still run

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-alpha-1
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Interceptor spec says:


      If an around-invoke method is overridden by another method (regardless of whether that method is itself an around-invoke method), it will not be invoked.

      If a lifecycle callback interceptor method is overridden by another method (regardless of whether that
      method is itself a lifecycle callback interceptor method (of the same or different type)), it will not be
      invoked.

      I don't have a fix for this issue, but it is at least conceptually pretty easy to grok.

      It seems that we can't just check the stack or even all enabled interceptors

        Activity

          People

          • Assignee:
            Mark Struberg
            Reporter:
            Eric Covener
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 8h
              8h
              Remaining:
              Remaining Estimate - 8h
              8h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development