GigaSpaces XAP 7.0 API

org.openspaces.remoting.scripting
Class StaticResourceScript

java.lang.Object
  extended by org.openspaces.remoting.scripting.StaticScript
      extended by org.openspaces.remoting.scripting.StaticResourceScript
All Implemented Interfaces:
Externalizable, Serializable, BroadcastIndicator, Script

public class StaticResourceScript
extends StaticScript

A static script that uses Spring Resource and ResourceLoader to load a given script (for example, from the classpath).

Author:
kimchy
See Also:
Serialized Form

Constructor Summary
StaticResourceScript()
           
StaticResourceScript(String name, String type, String resourceLocation)
           
 
Method Summary
 StaticScript script(String resourceLocation)
          Sets the actual script source.
 
Methods inherited from class org.openspaces.remoting.scripting.StaticScript
broadcast, cache, getMetaArguments, getName, getParameters, getReducer, getRouting, getScriptAsString, getType, metaArguments, name, parameter, readExternal, routing, shouldBroadcast, shouldCache, toString, type, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StaticResourceScript

public StaticResourceScript()

StaticResourceScript

public StaticResourceScript(String name,
                            String type,
                            String resourceLocation)
Method Detail

script

public StaticScript script(String resourceLocation)
Description copied from class: StaticScript
Sets the actual script source.

Overrides:
script in class StaticScript

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.