Class GenericDomainEventBus

java.lang.Object
org.reactivecommons.async.starter.senders.GenericDomainEventBus
All Implemented Interfaces:
org.reactivecommons.api.domain.DomainEventBus

public class GenericDomainEventBus extends Object implements org.reactivecommons.api.domain.DomainEventBus
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.reactivestreams.Publisher<Void>
    emit(io.cloudevents.CloudEvent event)
     
    org.reactivestreams.Publisher<Void>
    emit(String domain, io.cloudevents.CloudEvent event)
     
    <T> org.reactivestreams.Publisher<Void>
    emit(String domain, org.reactivecommons.api.domain.DomainEvent<T> event)
     
    org.reactivestreams.Publisher<Void>
    emit(String domain, org.reactivecommons.api.domain.RawMessage event)
     
    <T> org.reactivestreams.Publisher<Void>
    emit(org.reactivecommons.api.domain.DomainEvent<T> event)
     
    org.reactivestreams.Publisher<Void>
    emit(org.reactivecommons.api.domain.RawMessage event)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GenericDomainEventBus

      public GenericDomainEventBus()
  • Method Details

    • emit

      public <T> org.reactivestreams.Publisher<Void> emit(org.reactivecommons.api.domain.DomainEvent<T> event)
      Specified by:
      emit in interface org.reactivecommons.api.domain.DomainEventBus
    • emit

      public <T> org.reactivestreams.Publisher<Void> emit(String domain, org.reactivecommons.api.domain.DomainEvent<T> event)
      Specified by:
      emit in interface org.reactivecommons.api.domain.DomainEventBus
    • emit

      public org.reactivestreams.Publisher<Void> emit(io.cloudevents.CloudEvent event)
      Specified by:
      emit in interface org.reactivecommons.api.domain.DomainEventBus
    • emit

      public org.reactivestreams.Publisher<Void> emit(String domain, io.cloudevents.CloudEvent event)
      Specified by:
      emit in interface org.reactivecommons.api.domain.DomainEventBus
    • emit

      public org.reactivestreams.Publisher<Void> emit(org.reactivecommons.api.domain.RawMessage event)
      Specified by:
      emit in interface org.reactivecommons.api.domain.DomainEventBus
    • emit

      public org.reactivestreams.Publisher<Void> emit(String domain, org.reactivecommons.api.domain.RawMessage event)
      Specified by:
      emit in interface org.reactivecommons.api.domain.DomainEventBus