Modifier and Type | Method and Description |
---|---|
<F> EnhancedAnnotatedField<F,?> |
EnhancedAnnotatedType.getDeclaredEnhancedField(String fieldName)
Get a field by name
|
Modifier and Type | Method and Description |
---|---|
Collection<EnhancedAnnotatedField<?,? super T>> |
EnhancedAnnotatedType.getDeclaredEnhancedFields()
Gets all fields declared on this class only.
|
Collection<EnhancedAnnotatedField<?,? super T>> |
EnhancedAnnotatedType.getDeclaredEnhancedFields(Class<? extends Annotation> annotationType)
Gets all fields which are annotated with the given annotation type on this
class only.
|
Collection<EnhancedAnnotatedField<?,? super T>> |
EnhancedAnnotatedType.getEnhancedFields()
Gets all fields on the type
|
Collection<EnhancedAnnotatedField<?,?>> |
EnhancedAnnotatedType.getEnhancedFields(Class<? extends Annotation> annotationType)
Gets all fields which are annotated with the given annotation type on this
class and all super classes
|
Modifier and Type | Class and Description |
---|---|
class |
EnhancedAnnotatedFieldImpl<T,X>
Represents an annotated field
This class is immutable, and therefore threadsafe
|
Modifier and Type | Method and Description |
---|---|
<F> EnhancedAnnotatedField<F,?> |
EnhancedAnnotatedTypeImpl.getDeclaredEnhancedField(String fieldName) |
Modifier and Type | Method and Description |
---|---|
Collection<EnhancedAnnotatedField<?,? super T>> |
EnhancedAnnotatedTypeImpl.getDeclaredEnhancedFields() |
Collection<EnhancedAnnotatedField<?,? super T>> |
EnhancedAnnotatedTypeImpl.getDeclaredEnhancedFields(Class<? extends Annotation> annotationType) |
Collection<EnhancedAnnotatedField<?,? super T>> |
EnhancedAnnotatedTypeImpl.getEnhancedFields()
Gets the abstracted fields of the class
Initializes the fields if they are null
|
Collection<EnhancedAnnotatedField<?,?>> |
EnhancedAnnotatedTypeImpl.getEnhancedFields(Class<? extends Annotation> annotationType)
Gets the abstracted field annotated with a specific annotation type
If the fields map is null, initialize it first
|
Modifier and Type | Method and Description |
---|---|
EnhancedAnnotatedField<T,? super X> |
ProducerField.getEnhancedAnnotated()
Gets the annotated item representing the field
|
Modifier and Type | Method and Description |
---|---|
static String |
BeanIdentifiers.forProducerField(EnhancedAnnotatedField<?,?> field,
AbstractClassBean<?> declaringBean) |
static <X,T> ProducerField<X,T> |
ProducerField.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
|
Constructor and Description |
---|
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 |
---|---|
protected ResourceInjection<T> |
StaticEEResourceProducerField.getResourceInjection(EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
BeanManagerImpl manager) |
static <X,T> EEResourceProducerField<X,T> |
EEResourceProducerField.of(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)
Creates an EE resource producer field
|
static <X,T> StaticEEResourceProducerField<X,T> |
StaticEEResourceProducerField.of(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 and Description |
---|
EEResourceProducerField(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) |
StaticEEResourceProducerField(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) |
Modifier and Type | Method and Description |
---|---|
protected <X,T> void |
AbstractBeanDeployer.createProducerField(AbstractClassBean<X> declaringBean,
EnhancedAnnotatedField<T,? super X> field) |
protected boolean |
AbstractBeanDeployer.isEEResourceProducerField(EnhancedAnnotatedField<?,?> field) |
Modifier and Type | Method and Description |
---|---|
<T,X> FieldInjectionPoint<T,X> |
InjectionPointFactory.createFieldInjectionPoint(EnhancedAnnotatedField<T,X> field,
javax.enterprise.inject.spi.Bean<?> declaringBean,
Class<?> declaringComponentClass,
BeanManagerImpl manager)
Creates a new
FieldInjectionPoint and fires the ProcessInjectionPoint event. |
Modifier and Type | Method and Description |
---|---|
static <T,X> InferringFieldInjectionPointAttributes<T,X> |
InferringFieldInjectionPointAttributes.of(EnhancedAnnotatedField<T,X> field,
javax.enterprise.inject.spi.Bean<?> bean,
Class<?> declaringComponentClass,
BeanManagerImpl manager) |
Constructor and Description |
---|
InferringFieldInjectionPointAttributes(EnhancedAnnotatedField<T,X> field,
javax.enterprise.inject.spi.Bean<?> bean,
Class<?> declaringComponentClass,
BeanManagerImpl manager) |
Modifier and Type | Method and Description |
---|---|
protected void |
ProducerFieldProducer.checkProducerField(EnhancedAnnotatedField<T,? super X> enhancedField) |
Constructor and Description |
---|
ProducerFieldProducer(EnhancedAnnotatedField<T,? super X> enhancedField,
DisposalMethod<?,?> disposalMethod) |
Modifier and Type | Class and Description |
---|---|
class |
ForwardingWeldField<T,X> |
Modifier and Type | Method and Description |
---|---|
protected abstract EnhancedAnnotatedField<T,X> |
ForwardingWeldField.delegate() |
<F> EnhancedAnnotatedField<F,?> |
ForwardingWeldClass.getDeclaredEnhancedField(String fieldName) |
Modifier and Type | Method and Description |
---|---|
Collection<EnhancedAnnotatedField<?,? super T>> |
ForwardingWeldClass.getDeclaredEnhancedFields() |
Collection<EnhancedAnnotatedField<?,? super T>> |
ForwardingWeldClass.getDeclaredEnhancedFields(Class<? extends Annotation> annotationType) |
Collection<EnhancedAnnotatedField<?,? super T>> |
ForwardingWeldClass.getEnhancedFields() |
Collection<EnhancedAnnotatedField<?,?>> |
ForwardingWeldClass.getEnhancedFields(Class<? extends Annotation> annotationType) |
Copyright © 2016. All rights reserved.