Class InjectionMetadata.InjectedElement
java.lang.Object
org.springframework.beans.factory.annotation.InjectionMetadata.InjectedElement
- Direct Known Subclasses:
CommonAnnotationBeanPostProcessor.LookupElement
- Enclosing class:
- InjectionMetadata
A single injected element.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Check whether this injector's property needs to be skipped due to an explicit property value having been specified.protected final void
checkResourceType
(Class<?> resourceType) protected void
Clear property skipping for this element.boolean
final Member
protected Object
getResourceToInject
(Object target, String requestingBeanName) Either this orinject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues)
needs to be overridden.protected final Class<?>
int
hashCode()
protected void
inject
(Object target, String requestingBeanName, PropertyValues pvs) Either this orgetResourceToInject(java.lang.Object, java.lang.String)
needs to be overridden.toString()
-
Field Details
-
member
-
isField
protected final boolean isField -
pd
-
skip
-
-
Constructor Details
-
InjectedElement
-
-
Method Details
-
getMember
-
getResourceType
-
checkResourceType
-
inject
protected void inject(Object target, @Nullable String requestingBeanName, @Nullable PropertyValues pvs) throws Throwable Either this orgetResourceToInject(java.lang.Object, java.lang.String)
needs to be overridden.- Throws:
Throwable
-
checkPropertySkipping
Check whether this injector's property needs to be skipped due to an explicit property value having been specified. Also marks the affected property as processed for other processors to ignore it. -
clearPropertySkipping
Clear property skipping for this element.- Since:
- 3.2.13
-
getResourceToInject
Either this orinject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues)
needs to be overridden. -
equals
-
hashCode
public int hashCode() -
toString
-