Interface InterceptedElement


public interface InterceptedElement
Used in the interception model described by InterceptionPlan. An intercepted element typically refers to a ElementInfo.ElementKind.CONSTRUCTOR or ElementInfo.ElementKind.METHOD that qualifies for interception. If, however, the InterceptedTrigger is applied on the enclosing service type then all public methods. Note that only public methods on pico-activated services can be intercepted.
  • Method Details

    • interceptedTriggerTypeNames

      Set<String> interceptedTriggerTypeNames()
      The set of InterceptedTrigger types that apply to this method/element.
      Returns:
      the set of intercepted trigger types that apply to this method/element
    • elementInfo

      MethodElementInfo elementInfo()
      The method element info for this intercepted method.
      Returns:
      the method element info for this intercepted method