org.apache.webbeans.component
Class InjectionTargetBean<T>
java.lang.Object
org.apache.webbeans.component.BeanAttributesImpl<T>
org.apache.webbeans.component.AbstractOwbBean<T>
org.apache.webbeans.component.InjectionTargetBean<T>
- Type Parameters:
T - bean class
- All Implemented Interfaces:
- Serializable, javax.enterprise.context.spi.Contextual<T>, javax.enterprise.inject.spi.Bean<T>, javax.enterprise.inject.spi.BeanAttributes<T>, javax.enterprise.inject.spi.PassivationCapable, 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: 1680056 $ $Date: 2015-05-18 19:03:11 +0200 (Mon, 18 May 2015) $
- See Also:
- Serialized Form
|
Constructor Summary |
InjectionTargetBean(WebBeansContext webBeansContext,
WebBeansType webBeansType,
javax.enterprise.inject.spi.AnnotatedType<T> annotatedType,
javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes,
Class<T> beanClass)
|
InjectionTargetBean(WebBeansContext webBeansContext,
WebBeansType webBeansType,
javax.enterprise.inject.spi.AnnotatedType<T> annotatedType,
javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes,
Class<T> beanClass,
javax.enterprise.inject.spi.InjectionTargetFactory<T> factory)
Initializes the InjectionTarget Bean part. |
| Methods inherited from class org.apache.webbeans.component.AbstractOwbBean |
create, destroy, equals, getBeanClass, getId, getInjectionPoints, getLogger, getReturnType, getWebBeansContext, getWebBeansType, hashCode, isAlternative, isDependent, isEnabled, isPassivationCapable, isSpecializedBean, setEnabled, setSpecializedBean, toString |
| Methods inherited from interface javax.enterprise.inject.spi.Bean |
isNullable |
| Methods inherited from interface javax.enterprise.inject.spi.BeanAttributes |
getName, getQualifiers, getScope, getStereotypes, getTypes |
InjectionTargetBean
public InjectionTargetBean(WebBeansContext webBeansContext,
WebBeansType webBeansType,
javax.enterprise.inject.spi.AnnotatedType<T> annotatedType,
javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes,
Class<T> beanClass)
InjectionTargetBean
public InjectionTargetBean(WebBeansContext webBeansContext,
WebBeansType webBeansType,
javax.enterprise.inject.spi.AnnotatedType<T> annotatedType,
javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes,
Class<T> beanClass,
javax.enterprise.inject.spi.InjectionTargetFactory<T> factory)
- Initializes the InjectionTarget Bean part.
defineInterceptorsIfNeeded
public void defineInterceptorsIfNeeded()
providedId
protected String providedId()
- Overrides:
providedId in class AbstractOwbBean<T>
getProducer
public javax.enterprise.inject.spi.InjectionTarget<T> getProducer()
- Specified by:
getProducer in interface OwbBean<T>
- Returns:
- the producer for this bean;
getInjectionTarget
public javax.enterprise.inject.spi.InjectionTarget<T> getInjectionTarget()
getAnnotatedType
public javax.enterprise.inject.spi.AnnotatedType<T> getAnnotatedType()
-
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.