public class CdiInterceptorBeanBuilder<T> extends InterceptorBeanBuilder<T,CdiInterceptorBean<T>>
InterceptorBean
s.annotatedType, beanAttributes, webBeansContext
Constructor and Description |
---|
CdiInterceptorBeanBuilder(WebBeansContext webBeansContext,
javax.enterprise.inject.spi.AnnotatedType<T> annotatedType,
BeanAttributesImpl<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,
Method aroundConstruct) |
void |
defineCdiInterceptorRules() |
protected void |
defineInterceptorBindings() |
boolean |
isInterceptorEnabled()
If this method returns
false the InterceptorBeanBuilder.getBean() method must not get called. |
checkInterceptorConditions, defineInterceptorMethods, getBean
public CdiInterceptorBeanBuilder(WebBeansContext webBeansContext, javax.enterprise.inject.spi.AnnotatedType<T> annotatedType, BeanAttributesImpl<T> beanAttributes)
public void defineCdiInterceptorRules()
public boolean isInterceptorEnabled()
InterceptorBeanBuilder
false
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, Method aroundConstruct)
createBean
in class InterceptorBeanBuilder<T,CdiInterceptorBean<T>>
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.