Package org.apache.webbeans.component
Class InjectionTargetBean<T>
- java.lang.Object
-
- org.apache.webbeans.component.BeanAttributesImpl<T>
-
- org.apache.webbeans.component.AbstractOwbBean<T>
-
- org.apache.webbeans.component.InjectionTargetBean<T>
-
- Type Parameters:
T- bean class
- All Implemented Interfaces:
Serializable,javax.enterprise.context.spi.Contextual<T>,javax.enterprise.inject.spi.Bean<T>,javax.enterprise.inject.spi.BeanAttributes<T>,javax.enterprise.inject.spi.PassivationCapable,OwbBean<T>
- Direct Known Subclasses:
DecoratorBean,InterceptorBean,ManagedBean
public class InjectionTargetBean<T> extends AbstractOwbBean<T> implements Serializable
Abstract class for injection target beans.- Version:
- $Rev$ $Date$
- 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 InjectionTargetBean(WebBeansContext webBeansContext, WebBeansType webBeansType, javax.enterprise.inject.spi.AnnotatedType<T> annotatedType, javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes, Class<T> beanClass)InjectionTargetBean(WebBeansContext webBeansContext, WebBeansType webBeansType, javax.enterprise.inject.spi.AnnotatedType<T> annotatedType, javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes, Class<T> beanClass, javax.enterprise.inject.spi.InjectionTargetFactory<T> factory)Initializes the InjectionTarget Bean part.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineInterceptorsIfNeeded()javax.enterprise.inject.spi.AnnotatedType<T>getAnnotatedType()javax.enterprise.inject.spi.InjectionTarget<T>getInjectionTarget()javax.enterprise.inject.spi.InjectionTarget<T>getProducer()protected StringprovidedId()-
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, isNullable
-
-
-
-
Constructor Detail
-
InjectionTargetBean
public InjectionTargetBean(WebBeansContext webBeansContext, WebBeansType webBeansType, javax.enterprise.inject.spi.AnnotatedType<T> annotatedType, javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes, Class<T> beanClass)
-
InjectionTargetBean
public InjectionTargetBean(WebBeansContext webBeansContext, WebBeansType webBeansType, javax.enterprise.inject.spi.AnnotatedType<T> annotatedType, javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes, Class<T> beanClass, javax.enterprise.inject.spi.InjectionTargetFactory<T> factory)
Initializes the InjectionTarget Bean part.
-
-
Method Detail
-
defineInterceptorsIfNeeded
public void defineInterceptorsIfNeeded()
-
providedId
protected String providedId()
- Overrides:
providedIdin classAbstractOwbBean<T>
-
getProducer
public javax.enterprise.inject.spi.InjectionTarget<T> getProducer()
- Specified by:
getProducerin interfaceOwbBean<T>- Returns:
- the producer for this bean;
-
getInjectionTarget
public javax.enterprise.inject.spi.InjectionTarget<T> getInjectionTarget()
-
getAnnotatedType
public javax.enterprise.inject.spi.AnnotatedType<T> getAnnotatedType()
-
-