org.apache.webbeans.component
Class InjectionTargetBean<T>

java.lang.Object
  extended by org.apache.webbeans.component.BeanAttributesImpl<T>
      extended by org.apache.webbeans.component.AbstractOwbBean<T>
          extended by org.apache.webbeans.component.InjectionTargetBean<T>
Type Parameters:
T - bean class
All Implemented Interfaces:
Contextual<T>, Bean<T>, PassivationCapable, OwbBean<T>, BeanAttributes<T>
Direct Known Subclasses:
DecoratorBean, InterceptorBean, ManagedBean

public class InjectionTargetBean<T>
extends AbstractOwbBean<T>

Abstract class for injection target beans.

Version:
$Rev: 1559930 $ $Date: 2014-01-21 08:46:55 +0100 (Tue, 21 Jan 2014) $

Field Summary
 
Fields inherited from class org.apache.webbeans.component.AbstractOwbBean
enabled, logger, passivatingId, specializedBean, webBeansContext, webBeansType
 
Constructor Summary
InjectionTargetBean(WebBeansContext webBeansContext, WebBeansType webBeansType, AnnotatedType<T> annotatedType, BeanAttributes<T> beanAttributes, Class<T> beanClass)
           
InjectionTargetBean(WebBeansContext webBeansContext, WebBeansType webBeansType, AnnotatedType<T> annotatedType, BeanAttributes<T> beanAttributes, Class<T> beanClass, InjectionTargetFactory<T> factory)
          Initializes the InjectionTarget Bean part.
 
Method Summary
 AnnotatedType<T> getAnnotatedType()
          
 InjectionTarget<T> getInjectionTarget()
           
 InjectionTarget<T> getProducer()
           
 
Methods inherited from class org.apache.webbeans.component.AbstractOwbBean
create, destroy, getBeanClass, getId, getInjectionPoints, getLogger, getReturnType, getWebBeansContext, getWebBeansType, isAlternative, isDependent, isEnabled, isPassivationCapable, isSpecializedBean, setEnabled, setSpecializedBean, toString
 
Methods inherited from class org.apache.webbeans.component.BeanAttributesImpl
getName, getQualifiers, getScope, getStereotypes, getTypes, isNullable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.enterprise.inject.spi.Bean
getName, getQualifiers, getScope, getStereotypes, getTypes, isNullable
 

Constructor Detail

InjectionTargetBean

public InjectionTargetBean(WebBeansContext webBeansContext,
                           WebBeansType webBeansType,
                           AnnotatedType<T> annotatedType,
                           BeanAttributes<T> beanAttributes,
                           Class<T> beanClass)

InjectionTargetBean

public InjectionTargetBean(WebBeansContext webBeansContext,
                           WebBeansType webBeansType,
                           AnnotatedType<T> annotatedType,
                           BeanAttributes<T> beanAttributes,
                           Class<T> beanClass,
                           InjectionTargetFactory<T> factory)
Initializes the InjectionTarget Bean part.

Method Detail

getProducer

public InjectionTarget<T> getProducer()
Returns:
the producer for this bean;

getInjectionTarget

public InjectionTarget<T> getInjectionTarget()

getAnnotatedType

public AnnotatedType<T> getAnnotatedType()



Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.