GigaSpaces XAP 7.0 API

org.openspaces.remoting.scripting
Class SyncScriptingProxyConfigurer<T>

java.lang.Object
  extended by org.openspaces.remoting.scripting.SyncScriptingProxyConfigurer<T>

Deprecated. Use ExecutorScriptingProxyConfigurer.

public class SyncScriptingProxyConfigurer<T>
extends Object

A simple programmatic configurer creating a remote syncronous scripting proxy

Usage example:

 IJSpace space = new UrlSpaceConfigurer("jini://*/*/mySpace")
                        .space();
 GigaSpace gigaSpace = new GigaSpaceConfigurer(space).gigaSpace();
 ScriptingExecutor executor = new SyncScriptingProxyConfigurer(gigaSpace)
                                       .syncScriptingExecutor();
 Integer result = executor.execute(new StaticScript()
                  .type("groovy")
                  .name("myScript")
                  .script("return 1")));
 

Author:
Uri Cohen

Constructor Summary
SyncScriptingProxyConfigurer(GigaSpace gigaSpace)
          Deprecated.  
 
Method Summary
 ScriptingExecutor<T> syncScriptingExecutor()
          Deprecated. Create a new sync ScriptingExecutor proxy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncScriptingProxyConfigurer

public SyncScriptingProxyConfigurer(GigaSpace gigaSpace)
Deprecated. 
Method Detail

syncScriptingExecutor

public ScriptingExecutor<T> syncScriptingExecutor()
Deprecated. 
Create a new sync ScriptingExecutor proxy


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.