Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-271

method-level interceptor bindings not inherited properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • M3
    • M4
    • None

    Description

      If a subclass doesn't implement a method of an ancestor, and that ancestor has interceptor bindings, WebBeansInterceptorConfig will fail to consider those bindings when it builds the list of valid interceptors.

      The main culprit here is only getting declared methods, as opposed to all methods, of the bean class.

      Also, the routine that configured component-level interceptors already knows the full set of component-level bindings (already has resolved all the transitive and inheritance stuff) so this should be passed explicitly to the routine that determines the method-level interceptors (instead of trying to derive it again).

      Attachments

        Activity

          People

            covener Eric Covener
            covener Eric Covener
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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