Interface ArcInvocationContext

All Superinterfaces:
jakarta.interceptor.InvocationContext

public interface ArcInvocationContext extends jakarta.interceptor.InvocationContext
Enhanced version of InvocationContext.
  • Field Details

    • KEY_INTERCEPTOR_BINDINGS

      static final String KEY_INTERCEPTOR_BINDINGS
      This key can be used to obtain the interceptor bindings from the context data.
      See Also:
  • Method Details

    • getInterceptorBindings

      Set<Annotation> getInterceptorBindings()
      Returns:
      the interceptor bindings
    • findIterceptorBinding

      <T extends Annotation> T findIterceptorBinding(Class<T> annotationType)
      Parameters:
      annotationType -
      Returns:
      the first interceptor binding found, or null
    • findIterceptorBindings

      <T extends Annotation> List<T> findIterceptorBindings(Class<T> annotationType)
      Parameters:
      annotationType -
      Returns:
      the list of interceptor bindings of the given annotation type
    • findIterceptorBinding

      static <T extends Annotation> T findIterceptorBinding(jakarta.interceptor.InvocationContext context, Class<T> annotationType)
      Parameters:
      context -
      annotationType -
      Returns:
      the first interceptor binding found, or null
    • findIterceptorBindings

      static <T extends Annotation> List<T> findIterceptorBindings(jakarta.interceptor.InvocationContext context, Class<T> annotationType)
      Parameters:
      context -
      annotationType -
      Returns:
      the list of interceptor bindings of the given annotation type