Class DisabledCommandGateway

java.lang.Object
ai.stapi.test.disabledImplementations.DisabledCommandGateway
All Implemented Interfaces:
org.axonframework.commandhandling.gateway.CommandGateway, org.axonframework.messaging.MessageDispatchInterceptorSupport<org.axonframework.commandhandling.CommandMessage<?>>

public class DisabledCommandGateway extends Object implements org.axonframework.commandhandling.gateway.CommandGateway
  • Constructor Details

    • DisabledCommandGateway

      public DisabledCommandGateway()
  • Method Details

    • send

      public <C, R> void send(C c, org.axonframework.commandhandling.CommandCallback<? super C,? super R> commandCallback)
      Specified by:
      send in interface org.axonframework.commandhandling.gateway.CommandGateway
    • sendAndWait

      public <R> R sendAndWait(Object o)
      Specified by:
      sendAndWait in interface org.axonframework.commandhandling.gateway.CommandGateway
    • sendAndWait

      public <R> R sendAndWait(Object o, long l, TimeUnit timeUnit)
      Specified by:
      sendAndWait in interface org.axonframework.commandhandling.gateway.CommandGateway
    • send

      public <R> CompletableFuture<R> send(Object o)
      Specified by:
      send in interface org.axonframework.commandhandling.gateway.CommandGateway
    • registerDispatchInterceptor

      public org.axonframework.common.Registration registerDispatchInterceptor(org.axonframework.messaging.MessageDispatchInterceptor<? super org.axonframework.commandhandling.CommandMessage<?>> messageDispatchInterceptor)
      Specified by:
      registerDispatchInterceptor in interface org.axonframework.messaging.MessageDispatchInterceptorSupport<org.axonframework.commandhandling.CommandMessage<?>>