Annotation Interface Processor


@Retention(RUNTIME) @Target(METHOD) public @interface Processor
Marks a method as a CommandProcessor, which is a method that is executed after the command is executed, regardless of the outcome. The method must have a single parameter of type CommandContext. If the parameter was of type ExecutionContext, then the processor would be considered an CommandPostProcessor and would be executed after the processing of the command pathway, otherwise it would be considered a CommandPreProcessor and would be executed before the processing of the command pathway.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
     
  • Element Details

    • priority

      int priority
      Default:
      20