public interface GlobalRpcCommand extends ReplicableCommand
GlobalInboundInvocationHandler
.
Implementations of this interface must not rely on calls to AbstractComponentRegistry.wireDependencies(Object)
,
as @Inject
annotations on implementations will be ignored, components must be accessed via the
GlobalComponentRegistry
parameter of invokeAsync(GlobalComponentRegistry)
.Modifier and Type | Method and Description |
---|---|
default CompletionStage<?> |
invokeAsync(GlobalComponentRegistry globalComponentRegistry)
Invoke the command asynchronously.
|
canBlock, getCommandId, invoke, invokeAsync, isReturnValueExpected, isSuccessful, readFrom, setOrigin, writeTo
default CompletionStage<?> invokeAsync(GlobalComponentRegistry globalComponentRegistry) throws Throwable
Throwable
Copyright © 2021 JBoss by Red Hat. All rights reserved.