org.codehaus.jackson.map
Interface ResolvableDeserializer
- All Known Implementing Classes:
- BeanDeserializer, MapDeserializer, ThrowableDeserializer
public interface ResolvableDeserializer
Interface used to indicate deserializers that want to do post-processing
after construction and being added to DeserializerProvider
,
but before being used. This is typically used to resolve references
to other contained types; for example, bean deserializers use this
to eagerly find deserializers for contained field types.
resolve
void resolve(DeserializationConfig config,
DeserializerProvider provider)
throws JsonMappingException
- Method called after
DeserializerProvider
has registered
the deserializer, but before it has returned it to the caller.
Called object can then resolve its dependencies to other types,
including self-references (direct or indirect).
- Parameters:
provider
- Provider that has constructed deserializer this method
is called on.
- Throws:
JsonMappingException