org.apache.openejb.cdi
Class ConstructorInjectionBean<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>
              extended by org.apache.openejb.cdi.ConstructorInjectionBean<T>
All Implemented Interfaces:
javax.enterprise.context.spi.Contextual<T>, javax.enterprise.inject.spi.Bean<T>, javax.enterprise.inject.spi.PassivationCapable, org.apache.webbeans.component.OwbBean<T>, org.apache.webbeans.component.spi.BeanAttributes<T>

public class ConstructorInjectionBean<T>
extends org.apache.webbeans.component.InjectionTargetBean<T>

NOTE: think to cache this object to avoid concurrent issues.

Version:
$Rev$ $Date$

Field Summary
 
Fields inherited from class org.apache.webbeans.component.AbstractOwbBean
enabled, logger, passivatingId, specializedBean, webBeansContext, webBeansType
 
Constructor Summary
ConstructorInjectionBean(org.apache.webbeans.config.WebBeansContext webBeansContext, Class<T> returnType, javax.enterprise.inject.spi.AnnotatedType<T> at)
           
ConstructorInjectionBean(org.apache.webbeans.config.WebBeansContext webBeansContext, Class<T> returnType, javax.enterprise.inject.spi.AnnotatedType<T> at, Boolean passivationCapable)
           
 
Method Summary
 boolean isPassivationCapable()
           
 
Methods inherited from class org.apache.webbeans.component.InjectionTargetBean
getAnnotatedType, getInjectionTarget, getProducer
 
Methods inherited from class org.apache.webbeans.component.AbstractOwbBean
create, destroy, getBeanClass, getId, getInjectionPoints, getLogger, getReturnType, getWebBeansContext, getWebBeansType, isAlternative, isDependent, isEnabled, 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

ConstructorInjectionBean

public ConstructorInjectionBean(org.apache.webbeans.config.WebBeansContext webBeansContext,
                                Class<T> returnType,
                                javax.enterprise.inject.spi.AnnotatedType<T> at)

ConstructorInjectionBean

public ConstructorInjectionBean(org.apache.webbeans.config.WebBeansContext webBeansContext,
                                Class<T> returnType,
                                javax.enterprise.inject.spi.AnnotatedType<T> at,
                                Boolean passivationCapable)
Method Detail

isPassivationCapable

public boolean isPassivationCapable()
Specified by:
isPassivationCapable in interface org.apache.webbeans.component.OwbBean<T>
Overrides:
isPassivationCapable in class org.apache.webbeans.component.AbstractOwbBean<T>


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.