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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanCheck whether this injector's property needs to be skipped due to an explicit property value having been specified.protected final voidcheckResourceType(Class<?> resourceType) protected voidClear property skipping for this element.booleanfinal Memberprotected ObjectgetResourceToInject(Object target, String requestingBeanName) Either this orinject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues)needs to be overridden.protected final Class<?>inthashCode()protected voidinject(Object target, String requestingBeanName, PropertyValues pvs) Either this orgetResourceToInject(java.lang.Object, java.lang.String)needs to be overridden.toString()
- 
Field Details- 
member
- 
isFieldprotected final boolean isField
- 
pd
- 
skip
 
- 
- 
Constructor Details- 
InjectedElement
 
- 
- 
Method Details- 
getMember
- 
getResourceType
- 
checkResourceType
- 
injectprotected 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
 
- 
checkPropertySkippingCheck 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.
- 
clearPropertySkippingClear property skipping for this element.- Since:
- 3.2.13
 
- 
getResourceToInjectEither this orinject(java.lang.Object, java.lang.String, org.springframework.beans.PropertyValues)needs to be overridden.
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-