Annotation Type CommandHandler
@Target(METHOD) @Retention(RUNTIME) public @interface CommandHandlerMarks a method as a command handler.
This method will be invoked whenever the service call with name that matches this command handlers name is invoked.
The method may take the command object as a parameter, its type must match the gRPC service input type.
The return type of the method must match the gRPC services output type.
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description
nameThe name of the command to handle.