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