T - public class ProducerField<X,T> extends AbstractProducerBean<X,T,Field>
typebeanManager| Modifier | Constructor and Description |
|---|---|
protected |
ProducerField(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl manager,
org.jboss.weld.bootstrap.api.ServiceRegistry services)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupAfterBoot()
This method is called after the container is started allowing the bean to
release any resources that are only required at boot time
|
javax.enterprise.inject.spi.AnnotatedField<? super X> |
getAnnotated()
Returns the annotated item the bean represents
|
EnhancedAnnotatedField<T,? super X> |
getEnhancedAnnotated()
Gets the annotated item representing the field
|
Set<AbstractBean<?,?>> |
getSpecializedBeans() |
boolean |
isProxyable() |
boolean |
isSpecializing() |
static <X,T> ProducerField<X,T> |
of(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl beanManager,
org.jboss.weld.bootstrap.api.ServiceRegistry services)
Creates a producer field
|
String |
toString() |
create, destroy, getBeanClass, getDeclaringBean, getInjectionPoints, checkReturnValue, checkType, initType, internalInitialize, isPassivationCapableBean, isPassivationCapableDependency, isTypeSerializablegetProducer, getType, checkSpecialization, initializeAfterBeanDiscovery, isDependent, isIgnoreFinalMethods, isProxyRequired, postSpecialize, preInitialize, preSpecialize, setIgnoreFinalMethods, setProducer, specializegetBeanManager, getContextualInstanceStrategy, getQualifierInstances, initialize, isNormalScoped, setAttributesattributes, equals, getId, getIdentifier, hashCode, isNullable, unwrapgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeprotected ProducerField(javax.enterprise.inject.spi.BeanAttributes<T> attributes, EnhancedAnnotatedField<T,? super X> field, AbstractClassBean<X> declaringBean, DisposalMethod<X,?> disposalMethod, BeanManagerImpl manager, org.jboss.weld.bootstrap.api.ServiceRegistry services)
method - The producer field abstractiondeclaringBean - The declaring beanmanager - The Bean managerpublic static <X,T> ProducerField<X,T> of(javax.enterprise.inject.spi.BeanAttributes<T> attributes, EnhancedAnnotatedField<T,? super X> field, AbstractClassBean<X> declaringBean, DisposalMethod<X,?> disposalMethod, BeanManagerImpl beanManager, org.jboss.weld.bootstrap.api.ServiceRegistry services)
field - The underlying method abstractiondeclaringBean - The declaring bean abstractionbeanManager - the current managerpublic javax.enterprise.inject.spi.AnnotatedField<? super X> getAnnotated()
AbstractBeangetAnnotated in class AbstractProducerBean<X,T,Field>public EnhancedAnnotatedField<T,? super X> getEnhancedAnnotated()
getEnhancedAnnotated in class AbstractProducerBean<X,T,Field>public void cleanupAfterBoot()
RIBeancleanupAfterBoot in class RIBean<T>public boolean isSpecializing()
isSpecializing in class AbstractBean<T,Field>public String toString()
toString in class CommonBean<T>public boolean isProxyable()
isProxyable in class RIBean<T>public Set<AbstractBean<?,?>> getSpecializedBeans()
getSpecializedBeans in class AbstractBean<T,Field>Copyright © 2017. All rights reserved.