Represents an enabled interceptor.
Since CDI 2.0, an implementation of this interface may implement Prioritized in order to enable the interceptor with
given priority value for entire application.
| Modifier and Type | Method and Description |
|---|---|
| public Set | Returns: the set of interceptor bindingsObtains the interceptor bindings of the interceptor. |
| public Object | Returns: the invocation return valuethe interceptor instance to invoke instance, InvocationContext the context for the invocation ctx)Invokes the specified kind of lifecycle callback or method invocation interception upon the given interceptor instance. |
| public boolean | Returns: returns true if the interceptor intercepts callbacks or business methods of the given type, and false otherwise.Determines if the interceptor intercepts the specified kind of lifecycle callback or method invocation. |
| getInterceptorBindings | back to summary |
|---|---|
| public Set Obtains the interceptor bindings of the interceptor.
| |
| intercept | back to summary |
|---|---|
| public Object intercept(InterceptionType type, T instance, InvocationContext ctx) throws Exception Invokes the specified kind of lifecycle callback or method invocation interception upon the given interceptor instance.
| |
| intercepts | back to summary |
|---|---|
| public boolean intercepts(InterceptionType type) Determines if the interceptor intercepts the specified kind of lifecycle callback or method invocation.
| |