Class CdiInterceptorBeanBuilder<T>
- java.lang.Object
-
- org.apache.webbeans.component.creation.AbstractBeanBuilder
-
- org.apache.webbeans.component.creation.InterceptorBeanBuilder<T,CdiInterceptorBean<T>>
-
- org.apache.webbeans.component.creation.CdiInterceptorBeanBuilder<T>
-
public class CdiInterceptorBeanBuilder<T> extends InterceptorBeanBuilder<T,CdiInterceptorBean<T>>
Bean builder forInterceptorBeans.
-
-
Field Summary
-
Fields inherited from class org.apache.webbeans.component.creation.InterceptorBeanBuilder
annotatedType, beanAttributes, interceptionMethods, webBeansContext
-
-
Constructor Summary
Constructors Constructor Description CdiInterceptorBeanBuilder(WebBeansContext webBeansContext, jakarta.enterprise.inject.spi.AnnotatedType<T> annotatedType, jakarta.enterprise.inject.spi.BeanAttributes<T> beanAttributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CdiInterceptorBean<T>createBean(Class<T> beanClass, boolean enabled, Map<jakarta.enterprise.inject.spi.InterceptionType,Method[]> interceptionMethods)voiddefineCdiInterceptorRules()protected voiddefineInterceptorBindings()booleanisInterceptorEnabled()If this method returnsfalsetheInterceptorBeanBuilder.getBean()method must not get called.-
Methods inherited from class org.apache.webbeans.component.creation.InterceptorBeanBuilder
checkInterceptorConditions, defineInterceptorMethods, getBean
-
Methods inherited from class org.apache.webbeans.component.creation.AbstractBeanBuilder
validateNoDisposerWithoutProducer, validateNoProducerOrObserverMethod
-
-
-
-
Constructor Detail
-
CdiInterceptorBeanBuilder
public CdiInterceptorBeanBuilder(WebBeansContext webBeansContext, jakarta.enterprise.inject.spi.AnnotatedType<T> annotatedType, jakarta.enterprise.inject.spi.BeanAttributes<T> beanAttributes)
-
-
Method Detail
-
defineCdiInterceptorRules
public void defineCdiInterceptorRules()
-
isInterceptorEnabled
public boolean isInterceptorEnabled()
Description copied from class:InterceptorBeanBuilderIf this method returnsfalsetheInterceptorBeanBuilder.getBean()method must not get called.- Specified by:
isInterceptorEnabledin classInterceptorBeanBuilder<T,CdiInterceptorBean<T>>- Returns:
trueif the Interceptor is enabled and a Bean should get created
-
defineInterceptorBindings
protected void defineInterceptorBindings()
-
createBean
protected CdiInterceptorBean<T> createBean(Class<T> beanClass, boolean enabled, Map<jakarta.enterprise.inject.spi.InterceptionType,Method[]> interceptionMethods)
- Specified by:
createBeanin classInterceptorBeanBuilder<T,CdiInterceptorBean<T>>
-
-