Interface AfterLoadCallback<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.
Deprecated.
An
EntityCallback
that gets invoked after an aggregate was loaded from the database.- Since:
- 1.1
- Author:
- Jens Schauder, Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptiononAfterLoad
(T aggregate) Deprecated.Entity callback method invoked after an aggregate root was loaded.
-
Method Details
-
onAfterLoad
Deprecated.Entity callback method invoked after an aggregate root was loaded. Can return either the same or a modified instance of the domain object.- Parameters:
aggregate
- the loaded aggregate.- Returns:
- the loaded aggregate.
-
AfterConvertCallback
instead.