Metadata Summary


RemotingService

Class Annotation @RemotingService
Description Spring provides support for various remoting technologies. GigaSpaces uses the same concepts to provide remoting, using the space as the underlying protocol
Attribute Annotation @ExecutorProxy
Method argument @Routing
// Service Implementation
@RemotingService
public class DataProcessor implements IDataProcessor {

    public Data processData(Data data) {
        data.setProcessor(true);
        return data;
    }
}

// Client remoting proxy
public class DataRemoting {

    @ExecutorProxy
    private IDataProcessor dataProcessor;

    // ...
}

// remote method with routing parameter
public interface MyService {

    void doSomething(@Routing int param1, int param2);
}

ExecutorProxy

Attribute Annotation @ExecutorProxy
Description Spring provides support for various remoting technologies. GigaSpaces uses the same concepts to provide remoting, using the space as the underlying protocol
// Client remoting proxy
public class DataRemoting {

    @ExecutorProxy
    private IDataProcessor dataProcessor;

    // ...
}

Routing

Method argument @Routing
Description Spring provides support for various remoting technologies. GigaSpaces uses the same concepts to provide remoting, using the space as the underlying protocol
// Service Implementation
@RemotingService

   // remote method with routing parameter
   public interface MyService {

    void doSomething(@Routing int param1, int param2);
}