public interface Interceptor<T> extends Bean<T>
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.annotation.Annotation> |
getInterceptorBindings()
Returns the bindings for the interceptor
|
java.lang.Object |
intercept(InterceptionType type,
T instance,
InvocationContext ctx)
Invokes the callback
|
boolean |
intercepts(InterceptionType type)
Returns true if the interceptor intercepts the given type.
|
getBeanClass, getInjectionPoints, getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullable
create, destroy
java.util.Set<java.lang.annotation.Annotation> getInterceptorBindings()
boolean intercepts(InterceptionType type)
java.lang.Object intercept(InterceptionType type, T instance, InvocationContext ctx)