public class DecoratorBeanBuilder<T> extends Object
InterceptorBean
s.Modifier and Type | Field and Description |
---|---|
protected javax.enterprise.inject.spi.AnnotatedType<T> |
annotatedType |
protected BeanAttributesImpl<T> |
beanAttributes |
protected WebBeansContext |
webBeansContext |
Constructor and Description |
---|
DecoratorBeanBuilder(WebBeansContext webBeansContext,
javax.enterprise.inject.spi.AnnotatedType<T> annotatedType,
BeanAttributesImpl<T> beanAttributes) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkDecoratorConditions() |
void |
defineDecoratorRules() |
DecoratorBean<T> |
getBean() |
protected List<javax.enterprise.inject.spi.AnnotatedMethod<?>> |
getPostConstructMethods() |
protected List<javax.enterprise.inject.spi.AnnotatedMethod<?>> |
getPreDestroyMethods() |
boolean |
isDecoratorEnabled()
If this method returns
false the getBean() method must not get called. |
protected final WebBeansContext webBeansContext
protected final javax.enterprise.inject.spi.AnnotatedType<T> annotatedType
protected final BeanAttributesImpl<T> beanAttributes
public DecoratorBeanBuilder(WebBeansContext webBeansContext, javax.enterprise.inject.spi.AnnotatedType<T> annotatedType, BeanAttributesImpl<T> beanAttributes)
public boolean isDecoratorEnabled()
false
the getBean()
method must not get called.true
if the Decorator is enabled and a Bean should get createdprotected void checkDecoratorConditions()
public void defineDecoratorRules()
public DecoratorBean<T> getBean()
protected List<javax.enterprise.inject.spi.AnnotatedMethod<?>> getPostConstructMethods()
protected List<javax.enterprise.inject.spi.AnnotatedMethod<?>> getPreDestroyMethods()
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.