Interface WeldInvocationContext

    • Method Detail

      • getInterceptorBindings

        Set<Annotation> getInterceptorBindings()
        Return the set of interceptor bindings for a lifecycle callback, business method, timeout method, or constructor.

        The returned set may be empty if only interceptors using the Interceptors annotation are associated.

        Returns:
        a set of interceptor bindings
      • getInterceptorBindingsByType

        <T extends AnnotationSet<T> getInterceptorBindingsByType​(Class<T> annotationType)
        Return the set of interceptor bindings with the specified annotation type.
        Type Parameters:
        T - subclass of Annotation
        Parameters:
        annotationType - type of annotation
        Returns:
        a set of interceptor bindings with the specified annotation type
        See Also:
        getInterceptorBindings()