Interface ArcInvocationContext

  • All Superinterfaces:
    javax.interceptor.InvocationContext

    public interface ArcInvocationContext
    extends javax.interceptor.InvocationContext
    Enhanced version of InvocationContext.
    • Field Detail

      • 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:
        Constant Field Values
    • Method Detail

      • 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 AnnotationList<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​(javax.interceptor.InvocationContext context,
                                                              Class<T> annotationType)
        Parameters:
        context -
        annotationType -
        Returns:
        the first interceptor binding found, or null
      • findIterceptorBindings

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