Package org.apache.webbeans.component
Class ProducerAwareInjectionTargetBean<T>
- java.lang.Object
-
- org.apache.webbeans.component.BeanAttributesImpl<T>
-
- org.apache.webbeans.component.AbstractOwbBean<T>
-
- org.apache.webbeans.component.ProducerAwareInjectionTargetBean<T>
-
- 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>
public class ProducerAwareInjectionTargetBean<T> extends AbstractOwbBean<T> implements Serializable
- 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 ProducerAwareInjectionTargetBean(WebBeansContext webBeansContext, WebBeansType webBeansType, jakarta.enterprise.inject.spi.BeanAttributes<T> beanAttributes, Class<?> beanClass, jakarta.enterprise.inject.spi.ProducerFactory<?> factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()get the unique Id of the bean.jakarta.enterprise.inject.spi.Producer<T>getProducer()-
Methods inherited from class org.apache.webbeans.component.AbstractOwbBean
addToStringInfo, create, destroy, equals, getBeanClass, getInjectionPoints, getLogger, getReturnType, getWebBeansContext, getWebBeansType, hashCode, isDependent, isEnabled, isPassivationCapable, isSpecializedBean, providedId, setEnabled, setSpecializedBean, toString
-
Methods inherited from class org.apache.webbeans.component.BeanAttributesImpl
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
-
-
-
-
Constructor Detail
-
ProducerAwareInjectionTargetBean
public ProducerAwareInjectionTargetBean(WebBeansContext webBeansContext, WebBeansType webBeansType, jakarta.enterprise.inject.spi.BeanAttributes<T> beanAttributes, Class<?> beanClass, jakarta.enterprise.inject.spi.ProducerFactory<?> factory)
-
-
Method Detail
-
getProducer
public jakarta.enterprise.inject.spi.Producer<T> getProducer()
- Specified by:
getProducerin interfaceOwbBean<T>- Returns:
- the producer for this bean;
-
getId
public String getId()
Description copied from class:AbstractOwbBeanget the unique Id of the bean. This will get used as reference on passivation. Gets id of the bean.
-
-