public abstract class IsolatedForwardingInterceptor<T> extends IsolatedForwardingBean<T> implements Interceptor<T>
Interceptor. Separate delegate is used for BeanAttributes methods, allowing this
class to be used for processing of extension-provided beans.ProcessBeanAttributes| Modifier and Type | Class and Description |
|---|---|
static class |
IsolatedForwardingInterceptor.Impl<T> |
| Constructor and Description |
|---|
IsolatedForwardingInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
abstract Interceptor<T> |
delegate() |
Set<Annotation> |
getInterceptorBindings()
Obtains the interceptor bindings of the interceptor.
|
Object |
intercept(InterceptionType type,
T instance,
InvocationContext ctx)
Invokes the specified kind of lifecycle callback or method invocation interception upon the
given interceptor instance.
|
boolean |
intercepts(InterceptionType type)
Determines if the interceptor intercepts the specified kind of lifecycle callback or method
invocation.
|
create, destroy, equals, getBeanClass, getInjectionPoints, hashCode, isNullable, toStringattributes, getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBeanClass, getInjectionPoints, isNullablecreate, destroygetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativepublic abstract Interceptor<T> delegate()
delegate in interface WrappedContextual<T>delegate in class IsolatedForwardingBean<T>public Set<Annotation> getInterceptorBindings()
InterceptorObtains the interceptor bindings of the interceptor.
getInterceptorBindings in interface Interceptor<T>public boolean intercepts(InterceptionType type)
InterceptorDetermines if the interceptor intercepts the specified kind of lifecycle callback or method invocation.
intercepts in interface Interceptor<T>type - the kind of interceptionpublic Object intercept(InterceptionType type, T instance, InvocationContext ctx) throws Exception
InterceptorInvokes the specified kind of lifecycle callback or method invocation interception upon the given interceptor instance.
intercept in interface Interceptor<T>type - the kind of interceptioninstance - the interceptor instance to invokectx - the context for the invocationException - thrown by the target method and/or the following interceptors in the chainCopyright © 2016. All Rights Reserved.