Uses of Interface
org.axonframework.commandhandling.gateway.CommandGatewayFactory.InvocationHandler
Packages that use CommandGatewayFactory.InvocationHandler
-
Uses of CommandGatewayFactory.InvocationHandler in org.axonframework.commandhandling.gateway
Methods in org.axonframework.commandhandling.gateway that return CommandGatewayFactory.InvocationHandlerModifier and TypeMethodDescriptionprotected <R> CommandGatewayFactory.InvocationHandler<R> CommandGatewayFactory.wrapToFireAndForget(CommandGatewayFactory.InvocationHandler<CompletableFuture<R>> delegate) Wrap the givendelegatein anCommandGatewayFactory.InvocationHandlerthat returns immediately after invoking thedelegate.protected <R> CommandGatewayFactory.InvocationHandler<R> CommandGatewayFactory.wrapToReturnWithFixedTimeout(CommandGatewayFactory.InvocationHandler<CompletableFuture<R>> delegate, long timeout, TimeUnit timeUnit) Wraps the givendelegateand waits for the result in theCompletableFutureto become available, with giventimeoutandtimeUnit.protected <R> CommandGatewayFactory.InvocationHandler<R> CommandGatewayFactory.wrapToReturnWithTimeoutInArguments(CommandGatewayFactory.InvocationHandler<CompletableFuture<R>> delegate, int timeoutIndex, int timeUnitIndex) Wraps the givendelegateand waits for the result in theCompletableFutureto become available using given indices to resolve the parameters that provide the timeout to use.protected <R> CommandGatewayFactory.InvocationHandler<R> CommandGatewayFactory.wrapToWaitForResult(CommandGatewayFactory.InvocationHandler<CompletableFuture<R>> delegate) Wraps the givendelegateand waits for the result in theCompletableFutureto become available.protected <R> CommandGatewayFactory.InvocationHandler<R> CommandGatewayFactory.wrapUndeclaredExceptions(CommandGatewayFactory.InvocationHandler<R> delegate, Class<?>[] declaredExceptions) Wraps the givendelegatein anCommandGatewayFactory.InvocationHandlerthat wraps exceptions not declared on the method in aCommandExecutionException.Methods in org.axonframework.commandhandling.gateway with parameters of type CommandGatewayFactory.InvocationHandlerModifier and TypeMethodDescriptionprotected <R> CommandGatewayFactory.InvocationHandler<R> CommandGatewayFactory.wrapToFireAndForget(CommandGatewayFactory.InvocationHandler<CompletableFuture<R>> delegate) Wrap the givendelegatein anCommandGatewayFactory.InvocationHandlerthat returns immediately after invoking thedelegate.protected <R> CommandGatewayFactory.InvocationHandler<R> CommandGatewayFactory.wrapToReturnWithFixedTimeout(CommandGatewayFactory.InvocationHandler<CompletableFuture<R>> delegate, long timeout, TimeUnit timeUnit) Wraps the givendelegateand waits for the result in theCompletableFutureto become available, with giventimeoutandtimeUnit.protected <R> CommandGatewayFactory.InvocationHandler<R> CommandGatewayFactory.wrapToReturnWithTimeoutInArguments(CommandGatewayFactory.InvocationHandler<CompletableFuture<R>> delegate, int timeoutIndex, int timeUnitIndex) Wraps the givendelegateand waits for the result in theCompletableFutureto become available using given indices to resolve the parameters that provide the timeout to use.protected <R> CommandGatewayFactory.InvocationHandler<R> CommandGatewayFactory.wrapToWaitForResult(CommandGatewayFactory.InvocationHandler<CompletableFuture<R>> delegate) Wraps the givendelegateand waits for the result in theCompletableFutureto become available.protected <R> CommandGatewayFactory.InvocationHandler<R> CommandGatewayFactory.wrapUndeclaredExceptions(CommandGatewayFactory.InvocationHandler<R> delegate, Class<?>[] declaredExceptions) Wraps the givendelegatein anCommandGatewayFactory.InvocationHandlerthat wraps exceptions not declared on the method in aCommandExecutionException.