Interface PostProcessor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A callback executed after all field serialization has been performed.
- Since:
- 4.2.0
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA factory to produce object post-processors.
- 
Method SummaryModifier and TypeMethodDescriptionstatic PostProcessor.FactorymethodsAnnotated(Class<? extends Annotation> annotation) Discover methods annotated with the designated post-processor annotation in object-mapped types and their supertypes.static PostProcessor.FactoryDiscover methods annotated with thePostProcessannotation.voidpostProcess(Object instance) Perform post-processing on the fully deserialized instance.
- 
Method Details- 
postProcessPerform post-processing on the fully deserialized instance.- Parameters:
- instance- the instance to post-process
- Throws:
- SerializationException- if the underlying operation detects an error
- Since:
- 4.2.0
 
- 
methodsAnnotatedDiscover methods annotated with the designated post-processor annotation in object-mapped types and their supertypes.Annotated methods must be non-static, take no parameters, and can have no declared thrown exceptions except for SerializationException.- Parameters:
- annotation- the annotation that will mark post-processor methods
- Returns:
- a factory for annotated methods
- Since:
- 4.2.0
 
- 
methodsAnnotatedPostProcessDiscover methods annotated with thePostProcessannotation.All restrictions from methodsAnnotated(Class)apply to these annotated methods.- Returns:
- a new factory for discovering annotated methods
- Since:
- 4.2.0
- See Also:
 
 
-