Package org.apache.webbeans.component
Class DecoratorBean<T>
- java.lang.Object
-
- org.apache.webbeans.component.BeanAttributesImpl<T>
-
- org.apache.webbeans.component.AbstractOwbBean<T>
-
- org.apache.webbeans.component.InjectionTargetBean<T>
-
- org.apache.webbeans.component.DecoratorBean<T>
-
- All Implemented Interfaces:
jakarta.enterprise.context.spi.Contextual<T>,jakarta.enterprise.inject.spi.Bean<T>,jakarta.enterprise.inject.spi.BeanAttributes<T>,jakarta.enterprise.inject.spi.Decorator<T>,jakarta.enterprise.inject.spi.PassivationCapable,Serializable,OwbBean<T>
public class DecoratorBean<T> extends InjectionTargetBean<T> implements jakarta.enterprise.inject.spi.Decorator<T>
Decorator Bean implementation.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.webbeans.component.AbstractOwbBean
enabled, logger, passivatingId, specializedBean, webBeansContext, webBeansType
-
-
Constructor Summary
Constructors Constructor Description DecoratorBean(WebBeansContext webBeansContext, WebBeansType webBeansType, jakarta.enterprise.inject.spi.AnnotatedType<T> annotatedType, jakarta.enterprise.inject.spi.BeanAttributes<T> beanAttributes, Class<T> beanClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Type>getDecoratedTypes()Set<Annotation>getDelegateQualifiers()TypegetDelegateType()voidsetDecoratorInfo(Set<Type> decoratedTypes, Type delegateType, Set<Annotation> delegateQualifiers)-
Methods inherited from class org.apache.webbeans.component.InjectionTargetBean
defineInterceptorsIfNeeded, getAnnotatedType, getInjectionTarget, getProducer, providedId
-
Methods inherited from class org.apache.webbeans.component.AbstractOwbBean
addToStringInfo, create, destroy, equals, getBeanClass, getId, getInjectionPoints, getLogger, getReturnType, getWebBeansContext, getWebBeansType, hashCode, isDependent, isEnabled, isPassivationCapable, isSpecializedBean, setEnabled, setSpecializedBean, toString
-
Methods inherited from class org.apache.webbeans.component.BeanAttributesImpl
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jakarta.enterprise.inject.spi.Bean
getBeanClass, getInjectionPoints
-
-
-
-
Constructor Detail
-
DecoratorBean
public DecoratorBean(WebBeansContext webBeansContext, WebBeansType webBeansType, jakarta.enterprise.inject.spi.AnnotatedType<T> annotatedType, jakarta.enterprise.inject.spi.BeanAttributes<T> beanAttributes, Class<T> beanClass)
-
-
Method Detail
-
setDecoratorInfo
public void setDecoratorInfo(Set<Type> decoratedTypes, Type delegateType, Set<Annotation> delegateQualifiers)
-
getDecoratedTypes
public Set<Type> getDecoratedTypes()
- Specified by:
getDecoratedTypesin interfacejakarta.enterprise.inject.spi.Decorator<T>
-
getDelegateType
public Type getDelegateType()
- Specified by:
getDelegateTypein interfacejakarta.enterprise.inject.spi.Decorator<T>
-
getDelegateQualifiers
public Set<Annotation> getDelegateQualifiers()
- Specified by:
getDelegateQualifiersin interfacejakarta.enterprise.inject.spi.Decorator<T>
-
-