public class AggregateReadEvent extends BaseAggregateEvent
@Read is called.
This event will contains the method called of the repository and its arguments.
To enable this interception add the following line in a props file:
[org.seedstack.business.event] domain.watch=true
BaseAggregateEvent.Context| Constructor and Description |
|---|
AggregateReadEvent(Method methodCalled,
Object[] args,
Class<? extends AggregateRoot<?>> aggregateRoot)
Constructor.
|
getAggregateRoot, getContextequals, hashCode, toStringpublic AggregateReadEvent(Method methodCalled, Object[] args, Class<? extends AggregateRoot<?>> aggregateRoot)
methodCalled - intercepted methodargs - arguments of the intercepted methodaggregateRoot - aggregate root class concern by the eventCopyright © 2013-2016–2016 SeedStack. All rights reserved.