Class 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

public class InjectionTargetBean<T> extends AbstractOwbBean<T> implements Serializable
Abstract class for injection target beans.
Version:
$Rev$ $Date$
See Also:
  • 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

      protected String providedId()
      Overrides:
      providedId in class AbstractOwbBean<T>
    • getProducer

      public jakarta.enterprise.inject.spi.InjectionTarget<T> getProducer()
      Specified by:
      getProducer in interface OwbBean<T>
      Returns:
      the producer for this bean;
    • getInjectionTarget

      public jakarta.enterprise.inject.spi.InjectionTarget<T> getInjectionTarget()
    • getAnnotatedType

      public jakarta.enterprise.inject.spi.AnnotatedType<T> getAnnotatedType()