Interface EventPublisher
- All Known Implementing Classes:
SpringDomainEventPublisher
public interface EventPublisher
Small publishing port used by application services to emit domain events
without coupling those services to Spring's concrete event infrastructure.
-
Method Summary
Modifier and TypeMethodDescriptionvoidpublish(DomainEvent event) Publish a domain event inside the current application process.
-
Method Details