Interface WeldInvocationContext

All Superinterfaces:
InvocationContext

public interface WeldInvocationContext extends InvocationContext
Represents an enhanced version of InvocationContext.
Author:
Martin Kouba
See Also:
  • Field Details

  • Method Details

    • 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 Annotation> Set<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: