Annotation Interface RemoteService


@Retention(RUNTIME) @Target(TYPE) public @interface RemoteService
Indicates that the annotated interface is a service exposed through the generic REST API.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Name of the REST data store.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Name of the remote service.
  • Element Details

    • store

      String store
      Name of the REST data store.
    • remoteName

      String remoteName
      Name of the remote service. Required if the remote service name is different from the interface name.
      Default:
      ""