@PublicAPI public class ScriptLoader extends Object
Constructor and Description |
---|
ScriptLoader() |
Modifier and Type | Method and Description |
---|---|
static ScriptHandler |
createHandler(org.objectweb.proactive.core.node.Node node)
Create a script handler active object that performs a script execution
|
static ScriptHandler |
createLocalHandler()
Creates a local script handler: not an AO
|
static void |
main(String[] args)
Main function
|
public static ScriptHandler createHandler(org.objectweb.proactive.core.node.Node node) throws org.objectweb.proactive.ActiveObjectCreationException, org.objectweb.proactive.core.node.NodeException
node
- ProActive node on which the handler must be created.org.objectweb.proactive.ActiveObjectCreationException
- if script AO creation failsorg.objectweb.proactive.core.node.NodeException
- if an error occurs on the target node (node unreachable...).public static ScriptHandler createLocalHandler()