| Package | Description | 
|---|---|
| org.axonframework.commandhandling.gateway | 
| Modifier and Type | Method and Description | 
|---|---|
CommandGatewayFactory | 
CommandGatewayFactory.Builder.build()
Initializes a  
CommandGatewayFactory as specified through this Builder. | 
<C,R> CommandGatewayFactory | 
CommandGatewayFactory.registerCommandCallback(CommandCallback<C,R> callback,
                       ResponseType<R> responseType)
Registers the  
callback, 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 | 
CommandGatewayFactory.registerDispatchInterceptor(MessageDispatchInterceptor<CommandMessage<?>> dispatchInterceptor)
Registers the given  
dispatchInterceptor which is invoked for each Command dispatched through the
 Command Gateways created by this factory. | 
Copyright © 2010–2020. All rights reserved.