Package org.codehaus.jackson.map
Interface ResolvableSerializer
-
- All Known Implementing Classes:
AsArraySerializerBase
,BeanSerializer
,BeanSerializerBase
,CollectionSerializer
,EnumMapSerializer
,EnumSetSerializer
,IndexedStringListSerializer
,IterableSerializer
,JsonValueSerializer
,MapSerializer
,MapSerializer
,ObjectArraySerializer
,StdArraySerializers.StringArraySerializer
,StdContainerSerializers.IndexedListSerializer
,StdContainerSerializers.IteratorSerializer
,StringCollectionSerializer
,UnwrappingBeanSerializer
public interface ResolvableSerializer
Interface used to indicate serializers that want to do post-processing after construction and being added toSerializerProvider
, but before being used. This is typically used to resolve references to other contained types; for example, bean serializers use this to eagerly find serializers for contained field types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
resolve(SerializerProvider provider)
Method called afterSerializerProvider
has registered the serializer, but before it has returned it to the caller.
-
-
-
Method Detail
-
resolve
void resolve(SerializerProvider provider) throws JsonMappingException
Method called afterSerializerProvider
has registered the serializer, 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 serializer this method is called on.- Throws:
JsonMappingException
-
-