public class SelfInterceptorBean<T> extends InterceptorBean<T> implements Interceptor<T>
Implicit self-interceptor Bean implementation. This is Interceptors which got defined by having an @AroundInvoke, @AroundTimeout, etc method inside a bean itself. In that case all business method invocations on that bean are intercepted via those methods in the bean.
InterceptorBean.MultiMethodInvocationContextaroundConstructMethod, aroundInvokeMethodenabled, logger, passivatingId, specializedBean, webBeansContext, webBeansType| Constructor and Description |
|---|
SelfInterceptorBean(WebBeansContext webBeansContext,
AnnotatedType<T> annotatedType,
BeanAttributesImpl<T> beanAttributes,
Class<T> beanClass,
Map<InterceptionType,Method[]> interceptionMethods,
Method aroundConstruct) |
| Modifier and Type | Method and Description |
|---|---|
T |
create(CreationalContext<T> context) |
Set<Annotation> |
getInterceptorBindings() |
boolean |
isAroundInvoke() |
getInterceptorMethods, getScope, intercept, interceptsgetAnnotatedType, getInjectionTarget, getProducerdestroy, getBeanClass, getId, getInjectionPoints, getLogger, getReturnType, getWebBeansContext, getWebBeansType, isAlternative, isDependent, isEnabled, isPassivationCapable, isSpecializedBean, setEnabled, setSpecializedBean, toStringgetName, getQualifiers, getStereotypes, getTypes, isNullableclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitintercept, interceptsgetBeanClass, getInjectionPoints, getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullabledestroypublic SelfInterceptorBean(WebBeansContext webBeansContext, AnnotatedType<T> annotatedType, BeanAttributesImpl<T> beanAttributes, Class<T> beanClass, Map<InterceptionType,Method[]> interceptionMethods, Method aroundConstruct)
public boolean isAroundInvoke()
public Set<Annotation> getInterceptorBindings()
getInterceptorBindings in interface Interceptor<T>public T create(CreationalContext<T> context)
AbstractOwbBeancreate in interface Contextual<T>create in class AbstractOwbBean<T>Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.