org.springframework.beans.factory.annotation
Class AutowiredAnnotationBeanPostProcessor.AutowiredFieldElement
java.lang.Object
org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.AutowiredFieldElement
- Enclosing class:
- AutowiredAnnotationBeanPostProcessor
private class AutowiredAnnotationBeanPostProcessor.AutowiredFieldElement
- extends InjectionMetadata.InjectedElement
Class representing injection information about an annotated field.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
required
private final boolean required
cached
private volatile boolean cached
cachedFieldValue
private volatile java.lang.Object cachedFieldValue
AutowiredAnnotationBeanPostProcessor.AutowiredFieldElement
public AutowiredAnnotationBeanPostProcessor.AutowiredFieldElement(java.lang.reflect.Field field,
boolean required)
inject
protected void inject(java.lang.Object bean,
java.lang.String beanName,
PropertyValues pvs)
throws java.lang.Throwable
- Description copied from class:
InjectionMetadata.InjectedElement
- Either this or
InjectionMetadata.InjectedElement.getResourceToInject(java.lang.Object, java.lang.String)
needs to be overridden.
- Overrides:
inject
in class InjectionMetadata.InjectedElement
- Throws:
java.lang.Throwable