Annotation Interface VirtualObject


@Target(TYPE) @Retention(SOURCE) public @interface VirtualObject
Annotation to define a class/interface as Restate VirtualObject. This triggers the code generation of the related Client class and the ServiceDefinitionFactory.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Name of the VirtualObject for Restate.
  • Element Details

    • name

      String name
      Name of the VirtualObject for Restate. If not provided, it will be the simple class name of the annotated element.
      Default:
      ""