private class AutowiredAnnotationBeanPostProcessor.AutowiredMethodElement extends InjectionMetadata.InjectedElement
Modifier and Type | Field and Description |
---|---|
private boolean |
cached |
private java.lang.Object[] |
cachedMethodArguments |
private boolean |
required |
isField, member, pd, skip
Constructor and Description |
---|
AutowiredAnnotationBeanPostProcessor.AutowiredMethodElement(java.lang.reflect.Method method,
boolean required,
java.beans.PropertyDescriptor pd) |
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. |
private java.lang.Object[] |
resolveCachedArguments(java.lang.String beanName) |
checkPropertySkipping, checkResourceType, equals, getMember, getResourceToInject, getResourceType, hashCode, toString
private final boolean required
private volatile boolean cached
private volatile java.lang.Object[] cachedMethodArguments
public AutowiredAnnotationBeanPostProcessor.AutowiredMethodElement(java.lang.reflect.Method method, boolean required, java.beans.PropertyDescriptor pd)
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
private java.lang.Object[] resolveCachedArguments(java.lang.String beanName)