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 Type
    Method
    Description
    void
    Publish a domain event inside the current application process.
  • Method Details

    • publish

      void publish(DomainEvent event)
      Publish a domain event inside the current application process.
      Parameters:
      event - immutable event fact