org.springframework.beans.factory.annotation
Class AutowiredAnnotationBeanPostProcessor.AutowiredMethodElement
java.lang.Object
org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.AutowiredMethodElement
- Enclosing class:
- AutowiredAnnotationBeanPostProcessor
private class AutowiredAnnotationBeanPostProcessor.AutowiredMethodElement
- extends InjectionMetadata.InjectedElement
Class representing injection information about an annotated method.
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
cachedMethodArguments
private volatile java.lang.Object[] cachedMethodArguments
AutowiredAnnotationBeanPostProcessor.AutowiredMethodElement
public AutowiredAnnotationBeanPostProcessor.AutowiredMethodElement(java.lang.reflect.Method method,
boolean required,
java.beans.PropertyDescriptor pd)
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
resolveCachedArguments
private java.lang.Object[] resolveCachedArguments(java.lang.String beanName)