A - The type of aggregate this factory creates@FunctionalInterface public interface CreationPolicyAggregateFactory<A>
CreationPolicy.| Modifier and Type | Method and Description |
|---|---|
A |
create(Object identifier)
Instantiates the aggregate instance based on the provided identifier.
|
@Nonnull A create(@Nullable Object identifier)
identifier - the identifier extracted from the command messageCopyright © 2010–2023. All rights reserved.