public class EjbInterceptorBeanBuilder<T> extends InterceptorBeanBuilder<T,EjbInterceptorBean<T>>
InterceptorBeans.annotatedType, beanAttributes, interceptionMethods, webBeansContext| Constructor and Description |
|---|
EjbInterceptorBeanBuilder(WebBeansContext webBeansContext,
javax.enterprise.inject.spi.AnnotatedType<T> annotatedType,
BeanAttributesImpl<T> beanAttributes) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkDefaultConstructor() |
protected EjbInterceptorBean<T> |
createBean(Class<T> beanClass,
boolean enabled,
Map<javax.enterprise.inject.spi.InterceptionType,Method[]> interceptionMethods) |
void |
defineEjbInterceptorRules() |
boolean |
isInterceptorEnabled()
If this method returns
false the InterceptorBeanBuilder.getBean() method must not get called. |
checkInterceptorConditions, defineInterceptorMethods, getBeanvalidateNoDisposerWithoutProducer, validateNoProducerOrObserverMethodpublic EjbInterceptorBeanBuilder(WebBeansContext webBeansContext, javax.enterprise.inject.spi.AnnotatedType<T> annotatedType, BeanAttributesImpl<T> beanAttributes)
public void defineEjbInterceptorRules()
public boolean isInterceptorEnabled()
InterceptorBeanBuilderfalse the InterceptorBeanBuilder.getBean() method must not get called.isInterceptorEnabled in class InterceptorBeanBuilder<T,EjbInterceptorBean<T>>true if the Interceptor is enabled and a Bean should get createdpublic void checkDefaultConstructor()
protected EjbInterceptorBean<T> createBean(Class<T> beanClass, boolean enabled, Map<javax.enterprise.inject.spi.InterceptionType,Method[]> interceptionMethods)
createBean in class InterceptorBeanBuilder<T,EjbInterceptorBean<T>>Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.