Package sc.obj

Annotation Type Remote


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface Remote
    Provides manual control over the detection of remote methods.

    Place this on a method so that it is treated as a remote method, not a local one, even if it's resolved and included in the same runtime. You may want the call to be local from one runtime but remote from another. Set the remoteRuntimes property to a comma separated list of runtimes that should treat this as a remote call. Or you can set it be excluding the runtimes that should treat this as local by setting the localRuntimes. Do not set both of these properties at the same time.

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String localRuntimes
      The comma separated list of runtimes in which this method should be treated as a local call
      java.lang.String remoteRuntimes
      The comma separated list of runtimes in which this method should be treated as a remote call when used in a data binding expression.
    • Element Detail

      • remoteRuntimes

        java.lang.String remoteRuntimes
        The comma separated list of runtimes in which this method should be treated as a remote call when used in a data binding expression.
        Default:
        ""
      • localRuntimes

        java.lang.String localRuntimes
        The comma separated list of runtimes in which this method should be treated as a local call
        Default:
        ""