Class EjbInterceptorBeanBuilder<T>
- java.lang.Object
-
- org.apache.webbeans.component.creation.AbstractBeanBuilder
-
- org.apache.webbeans.component.creation.InterceptorBeanBuilder<T,EjbInterceptorBean<T>>
-
- org.apache.webbeans.component.creation.EjbInterceptorBeanBuilder<T>
-
public class EjbInterceptorBeanBuilder<T> extends InterceptorBeanBuilder<T,EjbInterceptorBean<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 EjbInterceptorBeanBuilder(WebBeansContext webBeansContext, jakarta.enterprise.inject.spi.AnnotatedType<T> annotatedType, BeanAttributesImpl<T> beanAttributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckDefaultConstructor()protected EjbInterceptorBean<T>createBean(Class<T> beanClass, boolean enabled, Map<jakarta.enterprise.inject.spi.InterceptionType,Method[]> interceptionMethods)voiddefineEjbInterceptorRules()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
-
EjbInterceptorBeanBuilder
public EjbInterceptorBeanBuilder(WebBeansContext webBeansContext, jakarta.enterprise.inject.spi.AnnotatedType<T> annotatedType, BeanAttributesImpl<T> beanAttributes)
-
-
Method Detail
-
defineEjbInterceptorRules
public void defineEjbInterceptorRules()
-
isInterceptorEnabled
public boolean isInterceptorEnabled()
Description copied from class:InterceptorBeanBuilderIf this method returnsfalsetheInterceptorBeanBuilder.getBean()method must not get called.- Specified by:
isInterceptorEnabledin classInterceptorBeanBuilder<T,EjbInterceptorBean<T>>- Returns:
trueif the Interceptor is enabled and a Bean should get created
-
checkDefaultConstructor
public void checkDefaultConstructor()
-
createBean
protected EjbInterceptorBean<T> createBean(Class<T> beanClass, boolean enabled, Map<jakarta.enterprise.inject.spi.InterceptionType,Method[]> interceptionMethods)
- Specified by:
createBeanin classInterceptorBeanBuilder<T,EjbInterceptorBean<T>>
-
-