public class SelfInterceptorBean<T> extends InterceptorBean<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.MultiMethodInvocationContextaroundInvokeMethodenabled, logger, passivatingId, specializedBean, webBeansContext, webBeansType| Constructor and Description |
|---|
SelfInterceptorBean(WebBeansContext webBeansContext,
javax.enterprise.inject.spi.AnnotatedType<T> annotatedType,
javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes,
Class<T> beanClass,
Map<javax.enterprise.inject.spi.InterceptionType,Method[]> interceptionMethods) |
| Modifier and Type | Method and Description |
|---|---|
T |
create(javax.enterprise.context.spi.CreationalContext<T> context) |
Set<Annotation> |
getInterceptorBindings() |
boolean |
isAroundInvoke() |
getInterceptorMethods, getScope, intercept, interceptsdefineInterceptorsIfNeeded, getAnnotatedType, getInjectionTarget, getProducer, providedIdaddToStringInfo, destroy, equals, getBeanClass, getId, getInjectionPoints, getLogger, getReturnType, getWebBeansContext, getWebBeansType, hashCode, isDependent, isEnabled, isPassivationCapable, isSpecializedBean, setEnabled, setSpecializedBean, toStringgetName, getQualifiers, getStereotypes, getTypes, isAlternative, isNullableclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic SelfInterceptorBean(WebBeansContext webBeansContext, javax.enterprise.inject.spi.AnnotatedType<T> annotatedType, javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes, Class<T> beanClass, Map<javax.enterprise.inject.spi.InterceptionType,Method[]> interceptionMethods)
public boolean isAroundInvoke()
public Set<Annotation> getInterceptorBindings()
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–2020 The Apache Software Foundation. All rights reserved.