Uses of Class
org.axonframework.commandhandling.gateway.CommandGatewayFactory
Packages that use CommandGatewayFactory
-
Uses of CommandGatewayFactory in org.axonframework.commandhandling.gateway
Methods in org.axonframework.commandhandling.gateway that return CommandGatewayFactoryModifier and TypeMethodDescriptionCommandGatewayFactory.Builder.build()Initializes aCommandGatewayFactoryas specified through this Builder.<C,R> CommandGatewayFactory CommandGatewayFactory.registerCommandCallback(CommandCallback<C, R> callback, ResponseType<R> responseType) Registers thecallback, which is invoked for each sent command, unless Axon is able to detect that the result of the command does not match the type accepted by the callback.CommandGatewayFactory.registerDispatchInterceptor(MessageDispatchInterceptor<CommandMessage<?>> dispatchInterceptor) Registers the givendispatchInterceptorwhich is invoked for each Command dispatched through the Command Gateways created by this factory.