private class CommonAnnotationBeanPostProcessor.ResourceElement extends CommonAnnotationBeanPostProcessor.LookupElement
Modifier and Type | Field and Description |
---|---|
protected boolean |
shareable |
isDefaultName, lookupType, mappedName, name
isField, member, pd, skip
Constructor and Description |
---|
CommonAnnotationBeanPostProcessor.ResourceElement(java.lang.reflect.Member member,
java.beans.PropertyDescriptor pd) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
getResourceToInject(java.lang.Object target,
java.lang.String requestingBeanName)
Either this or
InjectionMetadata.InjectedElement.inject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues) needs to be overridden. |
getDependencyDescriptor, getLookupType, getName
checkPropertySkipping, checkResourceType, equals, getMember, getResourceType, hashCode, inject, toString
public CommonAnnotationBeanPostProcessor.ResourceElement(java.lang.reflect.Member member, java.beans.PropertyDescriptor pd)
protected java.lang.Object getResourceToInject(java.lang.Object target, java.lang.String requestingBeanName)
InjectionMetadata.InjectedElement
InjectionMetadata.InjectedElement.inject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues)
needs to be overridden.getResourceToInject
in class InjectionMetadata.InjectedElement