Annotation Type AggregateId


  • @Target(PARAMETER)
    @Retention(RUNTIME)
    public @interface AggregateId
    Annotation to be placed on String parameters of event handler methods (methods annotated with HandleEvent or HandleNotification). If this annotation is present the parameter value will be the id of the aggregate to which this event was applied. If the event has not been applied to an aggregate the parameter value will be null.