public abstract class InjectableValues extends java.lang.Object
|Modifier and Type||Class and Description|
Simple standard implementation which uses a simple Map to store values to inject, identified by simple String keys.
|Constructor and Description|
|Modifier and Type||Method and Description|
Method called to find value identified by id
public abstract java.lang.Object findInjectableValue(java.lang.Object valueId, DeserializationContext ctxt, BeanProperty forProperty, java.lang.Object beanInstance) throws JsonMappingException
valueIdto inject as value of specified property during deserialization, passing POJO instance in which value will be injected if it is available (will be available when injected via field or setter; not available when injected via constructor or factory method argument).
valueId- Object that identifies value to inject; may be a simple name or more complex identifier object, whatever provider needs
ctxt- Deserialization context
forProperty- Bean property in which value is to be injected
beanInstance- Bean instance that contains property to inject, if available; null if bean has not yet been constructed.
Copyright © 2010 - 2020 Adobe. All Rights Reserved