Annotation Interface VirtualObject


@Target(TYPE) @Retention(RUNTIME) @Documented 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
    Deprecated, for removal: This API element is subject to removal in a future version.
    use the Name annotation instead.
  • Element Details

    • name

      @Deprecated(since="2.0", forRemoval=true) String name
      Deprecated, for removal: This API element is subject to removal in a future version.
      use the Name annotation instead. Note: if you were using a name override, this won't influence anymore the prefix of the generated class.
      Default:
      ""