public abstract static class InjectionMetadata.InjectedElement extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
isField |
protected Member |
member |
protected PropertyDescriptor |
pd |
protected Boolean |
skip |
Modifier | Constructor and Description |
---|---|
protected |
InjectedElement(Member member,
PropertyDescriptor pd) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkPropertySkipping(PropertyValues pvs)
Check whether this injector's property needs to be skipped due to
an explicit property value having been specified.
|
protected void |
checkResourceType(Class<?> resourceType) |
protected void |
clearPropertySkipping(PropertyValues pvs)
Clear property skipping for this element.
|
boolean |
equals(Object other) |
Member |
getMember() |
protected Object |
getResourceToInject(Object target,
String requestingBeanName)
Either this or
inject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues) needs to be overridden. |
protected Class<?> |
getResourceType() |
int |
hashCode() |
protected void |
inject(Object target,
String requestingBeanName,
PropertyValues pvs)
Either this or
getResourceToInject(java.lang.Object, java.lang.String) needs to be overridden. |
String |
toString() |
protected final Member member
protected final boolean isField
@Nullable protected final PropertyDescriptor pd
protected InjectedElement(Member member, @Nullable PropertyDescriptor pd)
public final Member getMember()
protected final Class<?> getResourceType()
protected final void checkResourceType(Class<?> resourceType)
protected void inject(Object target, @Nullable String requestingBeanName, @Nullable PropertyValues pvs) throws Throwable
getResourceToInject(java.lang.Object, java.lang.String)
needs to be overridden.Throwable
protected boolean checkPropertySkipping(@Nullable PropertyValues pvs)
protected void clearPropertySkipping(@Nullable PropertyValues pvs)
@Nullable protected Object getResourceToInject(Object target, @Nullable String requestingBeanName)
inject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues)
needs to be overridden.