Class ExecutorRemotingProxyConfigurer<T>

java.lang.Object
org.openspaces.remoting.ExecutorRemotingProxyConfigurer<T>

public class ExecutorRemotingProxyConfigurer<T> extends Object
A simple programmatic configurer creating a remote executor based proxy

Usage example:

 IJSpace space = new UrlSpaceConfigurer("jini://*/*/mySpace")
                        .space();
 GigaSpace gigaSpace = new GigaSpaceConfigurer(space).gigaSpace();
 MyBusinessInterface proxy = new ExecutorRemotingProxyConfigurer<MyBusinessInterface>(gigaSpace,
 MyBusinessInterface.class)
                                         .broadcast(true)
                                         .proxy();
 proxy.businessMethod(...);
 
Author:
kimchy