Class InjectableValues.Std
java.lang.Object
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.InjectableValues
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.InjectableValues.Std
- All Implemented Interfaces:
Serializable
- Enclosing class:
- InjectableValues
Simple standard implementation which uses a simple Map to
store values to inject, identified by simple String keys.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.InjectableValues
InjectableValues.Std
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindInjectableValue
(Object valueId, DeserializationContext ctxt, BeanProperty forProperty, Object beanInstance) Method called to find value identified by idvalueId
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).
-
Field Details
-
_values
-
-
Constructor Details
-
Std
public Std() -
Std
-
-
Method Details
-
addValue
-
addValue
-
findInjectableValue
public Object findInjectableValue(Object valueId, DeserializationContext ctxt, BeanProperty forProperty, Object beanInstance) throws JsonMappingException Description copied from class:InjectableValues
Method called to find value identified by idvalueId
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).- Specified by:
findInjectableValue
in classInjectableValues
- Parameters:
valueId
- Object that identifies value to inject; may be a simple name or more complex identifier object, whatever provider needsctxt
- Deserialization contextforProperty
- 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.- Throws:
JsonMappingException
-