Package org.jboss.weld.bean.builtin
Class DecoratedBeanMetadataBean
- java.lang.Object
-
- org.jboss.weld.util.bean.ForwardingBeanAttributes<T>
-
- org.jboss.weld.bean.CommonBean<T>
-
- org.jboss.weld.bean.RIBean<T>
-
- org.jboss.weld.bean.builtin.AbstractBuiltInBean<T>
-
- org.jboss.weld.bean.builtin.AbstractBuiltInMetadataBean<Bean<?>>
-
- org.jboss.weld.bean.builtin.BeanMetadataBean
-
- org.jboss.weld.bean.builtin.InterceptedBeanMetadataBean
-
- org.jboss.weld.bean.builtin.DecoratedBeanMetadataBean
-
- All Implemented Interfaces:
Contextual<Bean<?>>,Bean<Bean<?>>,BeanAttributes<Bean<?>>,PassivationCapable,WeldBean<Bean<?>>
public class DecoratedBeanMetadataBean extends InterceptedBeanMetadataBean
Allows a decorator to obtain information about the bean it decorates.- Author:
- Jozef Hartinger
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.weld.bean.builtin.AbstractBuiltInBean
AbstractBuiltInBean.BuiltInBeanAttributes<T>
-
-
Field Summary
-
Fields inherited from class org.jboss.weld.bean.RIBean
beanManager
-
-
Constructor Summary
Constructors Constructor Description DecoratedBeanMetadataBean(BeanManagerImpl beanManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckInjectionPoint(InjectionPoint ip)Set<Annotation>getQualifiers()Obtains the qualifiers of the bean.protected Bean<?>newInstance(InjectionPoint ip, CreationalContext<Bean<?>> ctx)StringtoString()-
Methods inherited from class org.jboss.weld.bean.builtin.AbstractBuiltInMetadataBean
create, getParentCreationalContext
-
Methods inherited from class org.jboss.weld.bean.builtin.AbstractBuiltInBean
cleanupAfterBoot, getInjectionPoints, getType, initializeAfterBeanDiscovery, internalInitialize, isDependentContextOptimizationAllowed, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, isProxyRequired, preInitialize
-
Methods inherited from class org.jboss.weld.bean.RIBean
destroy, getBeanClass, getBeanManager, getContextualInstanceStrategy, getQualifierInstances, initialize, isDependent, isNormalScoped, setAttributes
-
Methods inherited from class org.jboss.weld.bean.CommonBean
attributes, equals, getId, getIdentifier, hashCode, isNullable, unwrap
-
Methods inherited from class org.jboss.weld.util.bean.ForwardingBeanAttributes
getName, 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.BeanAttributes
getName, getScope, getStereotypes, getTypes, isAlternative
-
Methods inherited from interface javax.enterprise.inject.spi.PassivationCapable
getId
-
Methods inherited from interface org.jboss.weld.bean.WeldBean
getPriority
-
-
-
-
Constructor Detail
-
DecoratedBeanMetadataBean
public DecoratedBeanMetadataBean(BeanManagerImpl beanManager)
-
-
Method Detail
-
checkInjectionPoint
protected void checkInjectionPoint(InjectionPoint ip)
- Overrides:
checkInjectionPointin classInterceptedBeanMetadataBean
-
newInstance
protected Bean<?> newInstance(InjectionPoint ip, CreationalContext<Bean<?>> ctx)
- Overrides:
newInstancein classInterceptedBeanMetadataBean
-
getQualifiers
public Set<Annotation> getQualifiers()
Description copied from interface:BeanAttributesObtains the qualifiers of the bean.- Specified by:
getQualifiersin interfaceBeanAttributes<Bean<?>>- Overrides:
getQualifiersin classInterceptedBeanMetadataBean- Returns:
- the qualifiers
-
toString
public String toString()
- Overrides:
toStringin classInterceptedBeanMetadataBean
-
-