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 |
---|---|
protected static String |
ProducerField.createId(EnhancedAnnotatedField<?,?> field,
AbstractClassBean<?> declaringBean) |
static <X,T> ProducerField<X,T> |
ProducerField.of(BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl beanManager,
ServiceRegistry services)
Creates a producer field
|
Constructor and Description |
---|
ProducerField(BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl manager,
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> StaticEEResourceProducerField<X,T> |
StaticEEResourceProducerField.of(BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl manager,
ServiceRegistry services) |
static <X,T> EEResourceProducerField<X,T> |
EEResourceProducerField.of(BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl manager,
ServiceRegistry services)
Creates an EE resource producer field
|
Constructor and Description |
---|
EEResourceProducerField(BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl manager,
ServiceRegistry services) |
StaticEEResourceProducerField(BeanAttributes<T> attributes,
EnhancedAnnotatedField<T,? super X> field,
AbstractClassBean<X> declaringBean,
DisposalMethod<X,?> disposalMethod,
BeanManagerImpl manager,
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,
Bean<?> declaringBean,
Class<?> declaringComponentClass,
BeanManagerImpl manager)
Creates a new
FieldInjectionPoint and fires the ProcessInjectionPoint event. |
Modifier and Type | Method and Description |
---|---|
static <T,X> InferingFieldInjectionPointAttributes<T,X> |
InferingFieldInjectionPointAttributes.of(EnhancedAnnotatedField<T,X> field,
Bean<?> bean,
Class<?> declaringComponentClass,
BeanManagerImpl manager) |
Constructor and Description |
---|
InferingFieldInjectionPointAttributes(EnhancedAnnotatedField<T,X> field,
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 © 2013 Seam Framework. All Rights Reserved.