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 @FunctionalInterface public interface AfterLoadCallback<T> extends EntityCallback<T>
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 Type
    Method
    Description
    onAfterLoad(T aggregate)
    Deprecated.
    Entity callback method invoked after an aggregate root was loaded.
  • Method Details

    • onAfterLoad

      T onAfterLoad(T aggregate)
      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.