Annotation Type RemoteCall


@Target(METHOD) @Retention(RUNTIME) @Documented public @interface RemoteCall

Identifies callback methods on server-side services that are invoked when the client is performing a remote call.

Methods annotated with this annotation must have the following signature:

 @Service
 public class RemoteService
 {
     @Session
     private LocalSession sender;

     @RemoteCall("/foo")
     public void service(RemoteCall.Caller caller, Object data)
     {
         call.result(sender, process(data));
     }
 }
 
See Also: