Interface AfterConvertCallback<T>
- All Superinterfaces:
EntityCallback<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An
EntityCallback
that gets invoked after an aggregate was converted from the database into an entity.- Since:
- 2.3
- Author:
- Jens Schauder
-
Method Summary
Modifier and TypeMethodDescriptiononAfterConvert
(T aggregate) Entity callback method invoked after an aggregate root was converted.
-
Method Details
-
onAfterConvert
Entity callback method invoked after an aggregate root was converted. Can return either the same or a modified instance of the domain object.- Parameters:
aggregate
- the converted aggregate.- Returns:
- the converted and possibly modified aggregate.
-