Package org.jboss.weld.bean
Class SyntheticDecorator<T>
- java.lang.Object
-
- org.jboss.weld.util.bean.ForwardingBeanAttributes<T>
-
- org.jboss.weld.bean.CommonBean<T>
-
- org.jboss.weld.bean.AbstractSyntheticBean<T>
-
- org.jboss.weld.bean.SyntheticClassBean<T>
-
- org.jboss.weld.bean.SyntheticDecorator<T>
-
- Type Parameters:
T-
- All Implemented Interfaces:
Contextual<T>,Bean<T>,BeanAttributes<T>,Decorator<T>,WeldBean<T>
public class SyntheticDecorator<T> extends SyntheticClassBean<T> implements Decorator<T>
Represents aDecoratorcreated based on extension-providedInjectionTargetimplementation.- Author:
- Jozef Hartinger
-
-
Field Summary
-
Fields inherited from class org.jboss.weld.bean.SyntheticClassBean
producer
-
-
Constructor Summary
Constructors Constructor Description SyntheticDecorator(BeanAttributes<T> attributes, Class<T> beanClass, InjectionTargetFactory<T> factory, BeanManagerImpl manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Type>getDecoratedTypes()Obtains the decorated types.protected Set<Type>getDecoratedTypes(Set<Type> types)Set<Annotation>getDelegateQualifiers()Obtains the qualifiers of the delegate injection point.TypegetDelegateType()Obtains the type of the delegate injection point.protected InjectionPointidentifyDelegateInjectionPoint(Set<InjectionPoint> injectionPoints)-
Methods inherited from class org.jboss.weld.bean.SyntheticClassBean
create, destroy, getProducer, toString
-
Methods inherited from class org.jboss.weld.bean.AbstractSyntheticBean
getBeanClass, getInjectionPoints
-
Methods inherited from class org.jboss.weld.bean.CommonBean
attributes, equals, getId, getIdentifier, hashCode, isNullable, setAttributes, unwrap
-
Methods inherited from class org.jboss.weld.util.bean.ForwardingBeanAttributes
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 javax.enterprise.inject.spi.Bean
getBeanClass, getInjectionPoints, isNullable
-
Methods inherited from interface javax.enterprise.inject.spi.BeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
-
Methods inherited from interface javax.enterprise.context.spi.Contextual
create, destroy
-
Methods inherited from interface org.jboss.weld.bean.WeldBean
getPriority
-
-
-
-
Constructor Detail
-
SyntheticDecorator
public SyntheticDecorator(BeanAttributes<T> attributes, Class<T> beanClass, InjectionTargetFactory<T> factory, BeanManagerImpl manager)
-
-
Method Detail
-
identifyDelegateInjectionPoint
protected InjectionPoint identifyDelegateInjectionPoint(Set<InjectionPoint> injectionPoints)
-
getDelegateType
public Type getDelegateType()
Description copied from interface:DecoratorObtains the type of the delegate injection point.
- Specified by:
getDelegateTypein interfaceDecorator<T>- Returns:
- the delegate type
-
getDelegateQualifiers
public Set<Annotation> getDelegateQualifiers()
Description copied from interface:DecoratorObtains the qualifiers of the delegate injection point.
- Specified by:
getDelegateQualifiersin interfaceDecorator<T>- Returns:
- the delegate qualifiers
-
getDecoratedTypes
public Set<Type> getDecoratedTypes()
Description copied from interface:DecoratorObtains the decorated types.
- Specified by:
getDecoratedTypesin interfaceDecorator<T>- Returns:
- the set of decorated types
-
-