T - Type of the field declerationpublic class ProducerFieldBean<T> extends AbstractProducerBean<T>
enabled, logger, passivatingId, specializedBean, webBeansContext, webBeansType| Constructor and Description |
|---|
ProducerFieldBean(InjectionTargetBean<?> ownerComponent,
BeanAttributesImpl<T> beanAttributes,
Class<T> returnType,
ProducerFactory<T> producerFactory)
Defines the new producer field component.
|
| Modifier and Type | Method and Description |
|---|---|
T |
create(javax.enterprise.context.spi.CreationalContext<T> creationalContext) |
Field |
getCreatorField()
Gets creator field.
|
String |
getId()
get the unique Id of the bean.
|
boolean |
isPassivationCapable()
True if passivation capable false otherwise.
|
void |
setProducerField(Field field)
Set producer field.
|
checkNullInstance, checkScopeType, dispose, getProducer, getReturnType, isPassivationCapabledestroy, getBeanClass, getInjectionPoints, getLogger, getWebBeansContext, getWebBeansType, isAlternative, isDependent, isEnabled, isSpecializedBean, setEnabled, setSpecializedBean, toStringgetName, getQualifiers, getScope, getStereotypes, getTypes, isNullablepublic ProducerFieldBean(InjectionTargetBean<?> ownerComponent, BeanAttributesImpl<T> beanAttributes, Class<T> returnType, ProducerFactory<T> producerFactory)
returnType - type of the field declerationpublic T create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
create in interface javax.enterprise.context.spi.Contextual<T>create in class AbstractOwbBean<T>public Field getCreatorField()
public void setProducerField(Field field)
field - producer fieldpublic boolean isPassivationCapable()
OwbBeanisPassivationCapable in interface OwbBean<T>isPassivationCapable in class AbstractOwbBean<T>public String getId()
AbstractOwbBeanCopyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.