Interface InterceptionPlan


public interface InterceptionPlan
Once a service type qualifies for interception, the interception plan will be created describing how the service type should be intercepted.
  • Method Details

    • interceptedService

      ServiceInfoBasics interceptedService()
      The intercepted service.
      Returns:
      the intercepted service
    • serviceLevelAnnotations

      Set<AnnotationAndValue> serviceLevelAnnotations()
      Annotations at the service type level.
      Returns:
      annotations at the service type level
    • hasNoArgConstructor

      boolean hasNoArgConstructor()
      Returns true if the implementation has a zero/no-argument constructor.
      Returns:
      true if the service type being intercepted has a zero/no-argument constructor
    • interfaces

      Set<TypeName> interfaces()
      The interfaces that this service implements (usually a superset of ServiceInfoBasics.contractsImplemented()).
      Returns:
      the interfaces implemented
    • annotationTriggerTypeNames

      Set<String> annotationTriggerTypeNames()
      All the annotation names that contributed to triggering this interceptor plan.
      Returns:
      all the annotation names that contributed to triggering this interceptor plan
    • interceptedElements

      List<InterceptedElement> interceptedElements()
      The list of elements that should be intercepted.
      Returns:
      the list of elements that should be intercepted