Package io.quarkus.arc
Interface ArcInvocationContext
-
- All Superinterfaces:
javax.interceptor.InvocationContext
public interface ArcInvocationContext extends javax.interceptor.InvocationContext
Enhanced version ofInvocationContext
.
-
-
Field Summary
Fields Modifier and Type Field Description static String
KEY_INTERCEPTOR_BINDINGS
This key can be used to obtain the interceptor bindings from the context data.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends Annotation>
TfindIterceptorBinding(Class<T> annotationType)
static <T extends Annotation>
TfindIterceptorBinding(javax.interceptor.InvocationContext context, Class<T> annotationType)
<T extends Annotation>
List<T>findIterceptorBindings(Class<T> annotationType)
static <T extends Annotation>
List<T>findIterceptorBindings(javax.interceptor.InvocationContext context, Class<T> annotationType)
Set<Annotation>
getInterceptorBindings()
-
-
-
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 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(javax.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(javax.interceptor.InvocationContext context, Class<T> annotationType)
- Parameters:
context
-annotationType
-- Returns:
- the list of interceptor bindings of the given annotation type
-
-