Package org.nuxeo.ecm.core.event.stream
Class DomainEventProducer
- java.lang.Object
-
- org.nuxeo.ecm.core.event.stream.DomainEventProducer
-
- Direct Known Subclasses:
AuditDomainEventProducer
,BlobDomainEventProducer
,DocumentDomainEventProducer
public abstract class DomainEventProducer extends Object
Collects Core Events and produces Domain Event Records.- Since:
- 11.4
-
-
Constructor Summary
Constructors Constructor Description DomainEventProducer(String name, String stream)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
addEvent(Event event)
Receives Nuxeo Core events from the synchronous listener DomainEventProducerListener.abstract List<Record>
getDomainEvents()
Produces Domain Event Records from the accumulated Nuxeo Core events.String
getName()
The name of the domain event.String
getStream()
-