public interface VisitableCommand extends ReplicableCommand
Visitor
s, 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, writeTo
default 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 © 2021 JBoss by Red Hat. All rights reserved.