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:
jakarta.enterprise.context.spi.Contextual<T>,jakarta.enterprise.inject.spi.Bean<T>,jakarta.enterprise.inject.spi.BeanAttributes<T>,jakarta.enterprise.inject.spi.PassivationCapable,Serializable,OwbBean<T>
- Direct Known Subclasses:
DecoratorBean,InterceptorBean,ManagedBean
Abstract class for injection target beans.
- Version:
- $Rev$ $Date$
- See Also:
-
Field Summary
Fields inherited from class org.apache.webbeans.component.AbstractOwbBean
enabled, logger, passivatingId, specializedBean, webBeansContext, webBeansType -
Constructor Summary
ConstructorsConstructorDescriptionInjectionTargetBean(WebBeansContext webBeansContext, WebBeansType webBeansType, jakarta.enterprise.inject.spi.AnnotatedType<T> annotatedType, jakarta.enterprise.inject.spi.BeanAttributes<T> beanAttributes, Class<T> beanClass) InjectionTargetBean(WebBeansContext webBeansContext, WebBeansType webBeansType, jakarta.enterprise.inject.spi.AnnotatedType<T> annotatedType, jakarta.enterprise.inject.spi.BeanAttributes<T> beanAttributes, Class<T> beanClass, jakarta.enterprise.inject.spi.InjectionTargetFactory<T> factory) Initializes the InjectionTarget Bean part. -
Method Summary
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, toStringMethods inherited from class org.apache.webbeans.component.BeanAttributesImpl
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.enterprise.inject.spi.BeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
-
Constructor Details
-
InjectionTargetBean
public InjectionTargetBean(WebBeansContext webBeansContext, WebBeansType webBeansType, jakarta.enterprise.inject.spi.AnnotatedType<T> annotatedType, jakarta.enterprise.inject.spi.BeanAttributes<T> beanAttributes, Class<T> beanClass) -
InjectionTargetBean
public InjectionTargetBean(WebBeansContext webBeansContext, WebBeansType webBeansType, jakarta.enterprise.inject.spi.AnnotatedType<T> annotatedType, jakarta.enterprise.inject.spi.BeanAttributes<T> beanAttributes, Class<T> beanClass, jakarta.enterprise.inject.spi.InjectionTargetFactory<T> factory) Initializes the InjectionTarget Bean part.
-
-
Method Details
-
defineInterceptorsIfNeeded
public void defineInterceptorsIfNeeded() -
providedId
- Overrides:
providedIdin classAbstractOwbBean<T>
-
getProducer
- Specified by:
getProducerin interfaceOwbBean<T>- Returns:
- the producer for this bean;
-
getInjectionTarget
-
getAnnotatedType
-