Class InjectableValues.Empty
java.lang.Object
tools.jackson.databind.InjectableValues
tools.jackson.databind.InjectableValues.Base
tools.jackson.databind.InjectableValues.Empty
- All Implemented Interfaces:
Serializable, tools.jackson.core.util.Snapshottable<InjectableValues>
- Enclosing class:
InjectableValues
private static final class InjectableValues.Empty
extends InjectableValues.Base
implements Serializable
-
Nested Class Summary
Nested classes/interfaces inherited from class InjectableValues
InjectableValues.Base, InjectableValues.Std -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final InjectableValues.Emptyprivate static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindInjectableValue(DeserializationContext ctxt, Object valueId, BeanProperty forProperty, Object beanInstance, Boolean optional, Boolean useInput) Method called to find value identified by idvalueIdto 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).snapshot()Methods inherited from class InjectableValues.Base
_handleMissingValue, _validateKeyMethods inherited from class InjectableValues
empty
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
INSTANCE
-
-
Constructor Details
-
Empty
private Empty()
-
-
Method Details
-
snapshot
- Specified by:
snapshotin interfacetools.jackson.core.util.Snapshottable<InjectableValues>
-
findInjectableValue
public Object findInjectableValue(DeserializationContext ctxt, Object valueId, BeanProperty forProperty, Object beanInstance, Boolean optional, Boolean useInput) throws tools.jackson.core.JacksonException Description copied from class:InjectableValuesMethod called to find value identified by idvalueIdto 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).- Specified by:
findInjectableValuein classInjectableValues- Parameters:
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 founduseInput-- Throws:
tools.jackson.core.JacksonException
-