private class AutowiredAnnotationBeanPostProcessor.AutowiredFieldElement extends InjectionMetadata.InjectedElement
Modifier and Type | Field and Description |
---|---|
private boolean |
cached |
private java.lang.Object |
cachedFieldValue |
private boolean |
required |
isField, member, pd, skip
Constructor and Description |
---|
AutowiredAnnotationBeanPostProcessor.AutowiredFieldElement(java.lang.reflect.Field field,
boolean required) |
Modifier and Type | Method and Description |
---|---|
protected void |
inject(java.lang.Object bean,
java.lang.String beanName,
PropertyValues pvs)
Either this or
InjectionMetadata.InjectedElement.getResourceToInject(java.lang.Object, java.lang.String) needs to be overridden. |
checkPropertySkipping, checkResourceType, equals, getMember, getResourceToInject, getResourceType, hashCode, toString
private final boolean required
private volatile boolean cached
private volatile java.lang.Object cachedFieldValue
public AutowiredAnnotationBeanPostProcessor.AutowiredFieldElement(java.lang.reflect.Field field, boolean required)
protected void inject(java.lang.Object bean, java.lang.String beanName, PropertyValues pvs) throws java.lang.Throwable
InjectionMetadata.InjectedElement
InjectionMetadata.InjectedElement.getResourceToInject(java.lang.Object, java.lang.String)
needs to be overridden.inject
in class InjectionMetadata.InjectedElement
java.lang.Throwable