Top Fields Constructors Methods
tools.jackson.module.guice7

public Class GuiceInjectableValues

extends InjectableValues
Class Inheritance
Imports
tools.jackson.databind.BeanProperty, .DeserializationContext, .InjectableValues, com.google.inject.Injector, .Key

Field Summary

Modifier and TypeField and Description
private final Injector

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
findInjectableValue(DeserializationContext ctxt, Object valueId, BeanProperty forProperty, Object beanInstance, Boolean optional, Boolean useInput)

Implements abstract tools.jackson.databind.InjectableValues.findInjectableValue.

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).

public InjectableValues
snapshot()

Implements tools.jackson.core.util.Snapshottable.snapshot.

Method to call to get an instance that may not be modified through any other object, including `this`.

Field Detail

injectorback to summary
private final Injector injector

Constructor Detail

GuiceInjectableValuesback to summary
public GuiceInjectableValues(Injector injector)

Method Detail

findInjectableValueback to summary
public Object findInjectableValue(DeserializationContext ctxt, Object valueId, BeanProperty forProperty, Object beanInstance, Boolean optional, Boolean useInput)

Implements abstract tools.jackson.databind.InjectableValues.findInjectableValue.

Doc from tools.jackson.databind.InjectableValues.findInjectableValue.

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).

Annotations
@Override
snapshotback to summary
public InjectableValues snapshot()

Implements tools.jackson.core.util.Snapshottable.snapshot.

Doc from tools.jackson.core.util.Snapshottable.snapshot.

Method to call to get an instance that may not be modified through any other object, including `this`. That instance may be `this` if (and only if) this instance is effectively immutable (unmodifiable) through its API: if this is not the case, a new copy with same configuration must be created and returned.

Annotations
@Override