Beehive
  1. Beehive
  2. BEEHIVE-1076

interceptors for annotations don't get wired into generated control beans if the annotation is at the class level

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: V.Next
    • Component/s: Controls
    • Labels:
      None

      Description

      If you have an annotation which is meta-annotated with @InterceptorAnnotation specifying an interceptor service, and you place that annotation on a control at the class-level (on the interface), then the generated control bean doesn't get any interceptor logic wired in for pre/post invoke or pre/post event. Placing the annotation at the method level works as expected.

      It would be really nice if you could hook in interceptors for ALL methods by putting the annotation at the class level and having the code gen automatically wire this in for all methods.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Jim Cummings
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development