public class DecoratorImpl<T> extends ManagedBean<T> implements WeldDecorator<T>
annotatedType, enhancedAnnotatedItemtypebeanManager| Modifier | Constructor and Description |
|---|---|
protected |
DecoratorImpl(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> type,
BeanManagerImpl beanManager) |
| Modifier and Type | Method and Description |
|---|---|
Set<Type> |
getDecoratedTypes() |
InvokableAnnotatedMethod<?> |
getDecoratorMethod(Method method)
Returns the decorated method that can decorate a particular method, if one exists
Such a method must be implement one of the decorated type methods, and can be parametrized
|
WeldInjectionPointAttributes<?,?> |
getDelegateInjectionPoint() |
Set<Annotation> |
getDelegateQualifiers() |
Type |
getDelegateType() |
protected void |
initDecoratedTypes() |
protected void |
initDelegateBindings() |
protected void |
initDelegateInjectionPoint() |
protected void |
initDelegateType() |
void |
internalInitialize(BeanDeployerEnvironment environment)
Initializes the bean and its metadata
|
static <T> DecoratorImpl<T> |
of(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> clazz,
BeanManagerImpl beanManager)
Creates a decorator bean
|
String |
toString() |
checkBeanImplementation, checkType, create, destroy, initializeAfterBeanDiscovery, isInterceptionCandidate, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, setProducer, specializecleanupAfterBoot, getAnnotated, getDecorators, getEnhancedAnnotated, getInjectionPoints, getInjectionTarget, getInterceptors, getProducer, hasDecorators, hasInterceptors, initType, preSpecialize, setInjectionTarget, setProducercheckSpecialization, getSpecializedBeans, getType, isDependent, isProxyRequired, isSpecializing, postSpecialize, preInitializegetBeanClass, getBeanManager, getContextualInstanceStrategy, getQualifierInstances, initialize, isNormalScoped, setAttributesattributes, equals, getId, getIdentifier, hashCode, isNullable, unwrapgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetEnhancedAnnotatedgetBeanClass, getInjectionPoints, isNullableprotected DecoratorImpl(javax.enterprise.inject.spi.BeanAttributes<T> attributes, EnhancedAnnotatedType<T> type, BeanManagerImpl beanManager)
public static <T> DecoratorImpl<T> of(javax.enterprise.inject.spi.BeanAttributes<T> attributes, EnhancedAnnotatedType<T> clazz, BeanManagerImpl beanManager)
T - The typeclazz - The classbeanManager - the current managerpublic void internalInitialize(BeanDeployerEnvironment environment)
AbstractClassBeaninternalInitialize in class ManagedBean<T>protected void initDecoratedTypes()
protected void initDelegateInjectionPoint()
protected void initDelegateBindings()
protected void initDelegateType()
public Set<Annotation> getDelegateQualifiers()
getDelegateQualifiers in interface javax.enterprise.inject.spi.Decorator<T>public Type getDelegateType()
getDelegateType in interface javax.enterprise.inject.spi.Decorator<T>public Set<Type> getDecoratedTypes()
getDecoratedTypes in interface javax.enterprise.inject.spi.Decorator<T>public WeldInjectionPointAttributes<?,?> getDelegateInjectionPoint()
public InvokableAnnotatedMethod<?> getDecoratorMethod(Method method)
WeldDecoratorgetDecoratorMethod in interface WeldDecorator<T>public String toString()
toString in class ManagedBean<T>Copyright © 2017. All rights reserved.