Interface CommandInterceptor
- All Superinterfaces:
Ordered
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidafter(CommandExecutionContext context, CommandInvocationPlan invocation, Object result) default CommandExecutionDecisionbefore(CommandExecutionContext context, CommandInvocationPlan invocation) default voidonError(CommandExecutionContext context, CommandInvocationPlan invocation, Throwable throwable)
-
Method Details
-
before
default CommandExecutionDecision before(CommandExecutionContext context, CommandInvocationPlan invocation) -
after
default void after(CommandExecutionContext context, CommandInvocationPlan invocation, Object result) -
onError
default void onError(CommandExecutionContext context, CommandInvocationPlan invocation, Throwable throwable)
-