CollectionDomainEvent
Fired whenever the framework interacts with a domain object’s collection.
This is the specialization of AbstractDomainEvent , for collections, * which should then be further subclassed by domain application. .
The class itself is instantiated automatically by the framework using a no-arg constructor; fields are set reflectively.
API
CollectionDomainEvent.java
class CollectionDomainEvent<S, T> {
CollectionDomainEvent() (1)
CollectionDomainEvent(S source) (2)
String toString()
}
1 | CollectionDomainEvent()
Subtypes can define a no-arg constructor; the framework sets state via (non-API) setters. |
2 | CollectionDomainEvent(S)
Subtypes can define a one-arg constructor; the framework sets state via (non-API) setters. |