public abstract static class InjectionMetadata.InjectedElement
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
isField |
protected java.lang.reflect.Member |
member |
protected java.beans.PropertyDescriptor |
pd |
protected java.lang.Boolean |
skip |
Modifier | Constructor and Description |
---|---|
protected |
InjectedElement(java.lang.reflect.Member member,
java.beans.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(java.lang.Class<?> resourceType) |
protected void |
clearPropertySkipping(PropertyValues pvs) |
boolean |
equals(java.lang.Object other) |
java.lang.reflect.Member |
getMember() |
protected java.lang.Object |
getResourceToInject(java.lang.Object target,
java.lang.String requestingBeanName)
Either this or
inject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues) needs to be overridden. |
protected java.lang.Class<?> |
getResourceType() |
int |
hashCode() |
protected void |
inject(java.lang.Object target,
java.lang.String requestingBeanName,
PropertyValues pvs)
Either this or
getResourceToInject(java.lang.Object, java.lang.String) needs to be overridden. |
java.lang.String |
toString() |
protected final java.lang.reflect.Member member
protected final boolean isField
protected final java.beans.PropertyDescriptor pd
protected volatile java.lang.Boolean skip
protected InjectedElement(java.lang.reflect.Member member, java.beans.PropertyDescriptor pd)
public final java.lang.reflect.Member getMember()
protected final java.lang.Class<?> getResourceType()
protected final void checkResourceType(java.lang.Class<?> resourceType)
protected void inject(java.lang.Object target, java.lang.String requestingBeanName, PropertyValues pvs) throws java.lang.Throwable
getResourceToInject(java.lang.Object, java.lang.String)
needs to be overridden.java.lang.Throwable
protected boolean checkPropertySkipping(PropertyValues pvs)
protected void clearPropertySkipping(PropertyValues pvs)
protected java.lang.Object getResourceToInject(java.lang.Object target, java.lang.String requestingBeanName)
inject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues)
needs to be overridden.public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object