Interface InterceptorMetadata

    • Method Detail

      • isEligible

        boolean isEligible​(InterceptionType interceptionType)
        Indicates, whether the given interception type is supported.
        Parameters:
        interceptionType - The InterceptionType
        Returns:
        true if the given interception type is supported, false otherwise
      • getInterceptorInvocation

        InterceptorInvocation getInterceptorInvocation​(Object interceptorInstance,
                                                       InterceptionType interceptionType)
        Creates a InterceptorInvocation object representing invocation of interceptor methods of a given type on a given interceptor instance.
        Parameters:
        interceptorInstance - the given instance of the interceptor
        interceptionType - the given interception type
        Returns: