public class SelfInterceptorBean<T> extends InterceptorBean<T> implements javax.enterprise.inject.spi.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,
javax.enterprise.inject.spi.AnnotatedType<T> annotatedType,
BeanAttributesImpl<T> beanAttributes,
Class<T> beanClass,
Map<javax.enterprise.inject.spi.InterceptionType,Method[]> interceptionMethods,
Method aroundConstruct) |
| Modifier and Type | Method and Description |
|---|---|
T |
create(javax.enterprise.context.spi.CreationalContext<T> context) |
Set<Annotation> |
getInterceptorBindings() |
boolean |
isAroundInvoke() |
getInterceptorMethods, getScope, intercept, interceptsdefineBeanInterceptorStack, getAnnotatedType, 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, waitpublic SelfInterceptorBean(WebBeansContext webBeansContext, javax.enterprise.inject.spi.AnnotatedType<T> annotatedType, BeanAttributesImpl<T> beanAttributes, Class<T> beanClass, Map<javax.enterprise.inject.spi.InterceptionType,Method[]> interceptionMethods, Method aroundConstruct)
public boolean isAroundInvoke()
public Set<Annotation> getInterceptorBindings()
getInterceptorBindings in interface javax.enterprise.inject.spi.Interceptor<T>public T create(javax.enterprise.context.spi.CreationalContext<T> context)
AbstractOwbBeancreate in interface javax.enterprise.context.spi.Contextual<T>create in class AbstractOwbBean<T>Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.