public abstract class InjectableValues extends Object
Modifier and Type | Class and Description |
---|---|
static class |
InjectableValues.Std
Simple standard implementation which uses a simple Map to
store values to inject, identified by simple String keys.
|
Constructor and Description |
---|
InjectableValues() |
Modifier and Type | Method and Description |
---|---|
Object |
findInjectableValue(DeserializationContext ctxt,
Object valueId,
BeanProperty forProperty,
Object beanInstance,
Boolean optional,
Boolean useInput)
Method called to find value identified by id
valueId to
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). |
abstract Object |
findInjectableValue(Object valueId,
DeserializationContext ctxt,
BeanProperty forProperty,
Object beanInstance)
Deprecated.
in 2.20 Use non-deprecated method instead
|
public Object findInjectableValue(DeserializationContext ctxt, Object valueId, BeanProperty forProperty, Object beanInstance, Boolean optional, Boolean useInput) throws JsonMappingException
valueId
to
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).ctxt
- Deserialization contextvalueId
- Object that identifies value to inject; may be a simple
name or more complex identifier object, whatever provider needsforProperty
- Bean property in which value is to be injectedbeanInstance
- Bean instance that contains property to inject,
if available; null if bean has not yet been constructed.optional
- Flag used for configuring the behavior when the value
to inject is not foundJsonMappingException
@Deprecated public abstract Object findInjectableValue(Object valueId, DeserializationContext ctxt, BeanProperty forProperty, Object beanInstance) throws JsonMappingException
JsonMappingException
Copyright © 2008–2025 FasterXML. All rights reserved.