Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.scripting
Class ScriptingServerImpl

java.lang.Object
  extended by org.nuxeo.runtime.scripting.ScriptingServerImpl
All Implemented Interfaces:
ScriptingServer

public class ScriptingServerImpl
extends Object
implements ScriptingServer

Author:
Bogdan Stefanescu

Constructor Summary
ScriptingServerImpl(ScriptingComponent comp)
           
 
Method Summary
 Object[] eval(String name, String script, Map<String,Object> context)
           
 Object[] invoke(String name, String script, Map<String,Object> context, String method, Object[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptingServerImpl

public ScriptingServerImpl(ScriptingComponent comp)
Method Detail

eval

public Object[] eval(String name,
                     String script,
                     Map<String,Object> context)
              throws Exception
Specified by:
eval in interface ScriptingServer
Throws:
Exception

invoke

public Object[] invoke(String name,
                       String script,
                       Map<String,Object> context,
                       String method,
                       Object[] args)
                throws Exception
Specified by:
invoke in interface ScriptingServer
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.