Annotation Type AggregateType


  • @Target(PARAMETER)
    @Retention(RUNTIME)
    public @interface AggregateType
    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 Class 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.