Class 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
    • 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:
        getProducer in interface OwbBean<T>
        Returns:
        the producer for this bean;
      • getId

        public String getId()
        Description copied from class: AbstractOwbBean
        get the unique Id of the bean. This will get used as reference on passivation. Gets id of the bean.
        Specified by:
        getId in interface OwbBean<T>
        Specified by:
        getId in interface jakarta.enterprise.inject.spi.PassivationCapable
        Overrides:
        getId in class AbstractOwbBean<T>
        Returns:
        id of the bean