public interface VisitableCommand extends ReplicableCommand
Visitors, such as DDAsyncInterceptor.| Modifier and Type | Interface and Description |
|---|---|
static class |
VisitableCommand.LoadType |
| Modifier and Type | Method and Description |
|---|---|
Object |
acceptVisitor(InvocationContext ctx,
Visitor visitor)
Accept a visitor, and return the result of accepting this visitor.
|
default void |
init(ComponentRegistry registry) |
VisitableCommand.LoadType |
loadType() |
canBlock, getCommandId, invoke, invokeAsync, isReturnValueExpected, isSuccessful, readFrom, setOrigin, writeTodefault void init(ComponentRegistry registry)
Object acceptVisitor(InvocationContext ctx, Visitor visitor) throws Throwable
ctx - invocation contextvisitor - visitor to acceptThrowable - in the event of problemsVisitableCommand.LoadType loadType()
UnsupportedOperationException - if the distinction does not make any sense.Copyright © 2022 JBoss by Red Hat. All rights reserved.