Aggregate Root Directory
A mapping of aggregate roots to the associated parts.
In the directory, the aggregate root is represented by its type and the parts - by their repositories.
Inheritors
Functions
Link copied to clipboard
public abstract Optional<? extends AggregatePartRepository<? extends Object, ? extends Object, ? extends Object>> findPart(Class<? extends AggregateRoot<? extends Object>> rootClass, Class<? extends EntityState> partStateClass)
Looks up an aggregate part repository by the type of the root and the type of the part state.