Annotation Interface Handler


@Target(METHOD) @Retention(SOURCE) public @interface Handler
Annotate a method as Restate handler. This annotation can be used only on public methods of a class interface annotated with either Service, VirtualObject or Workflow. Within the same class/interface, two methods with the same name cannot both be annotated as handlers.