org.codehaus.jackson.map.ResolvableDeserializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ehcache Show documentation
Show all versions of ehcache Show documentation
Ehcache is an open source, standards-based cache used to boost performance,
offload the database and simplify scalability. Ehcache is robust, proven and full-featured and
this has made it the most widely-used Java-based cache.
package org.codehaus.jackson.map;
/**
* Interface used to indicate deserializers that want to do post-processing
* after construction and being added to {@link 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.
*/
public interface ResolvableDeserializer
{
/**
* Method called after {@link 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).
*
* @param provider Provider that has constructed deserializer this method
* is called on.
*/
public abstract void resolve(DeserializationConfig config, DeserializerProvider provider)
throws JsonMappingException;
}