public interface WeldInvocationContext extends InvocationContext
InvocationContext
.Modifier and Type | Field and Description |
---|---|
static String |
INTERCEPTOR_BINDINGS_KEY
A key value under which we store interceptor bindings in
InvocationContext |
Modifier and Type | Method and Description |
---|---|
Set<Annotation> |
getInterceptorBindings()
Return the set of interceptor bindings for a lifecycle callback, business method, timeout method, or constructor.
|
<T extends Annotation> |
getInterceptorBindingsByType(Class<T> annotationType)
Return the set of interceptor bindings with the specified annotation type.
|
getConstructor, getContextData, getMethod, getParameters, getTarget, getTimer, proceed, setParameters
static final String INTERCEPTOR_BINDINGS_KEY
InvocationContext
Set<Annotation> getInterceptorBindings()
The returned set may be empty if only interceptors using the Interceptors
annotation are associated.
<T extends Annotation> Set<T> getInterceptorBindingsByType(Class<T> annotationType)
T
- subclass of Annotation
annotationType
- type of annotationgetInterceptorBindings()
Copyright © 2021 JBoss by Red Hat. All rights reserved.