Liferay 6.1.2-ce-ga3

com.liferay.portal.scripting.python
Class PythonExecutor

java.lang.Object
  extended by com.liferay.portal.kernel.scripting.BaseScriptingExecutor
      extended by com.liferay.portal.scripting.python.PythonExecutor
All Implemented Interfaces:
ScriptingExecutor

public class PythonExecutor
extends BaseScriptingExecutor


Constructor Summary
PythonExecutor()
           
 
Method Summary
 void clearCache()
           
 Map<String,Object> eval(Set<String> allowedClasses, Map<String,Object> inputObjects, Set<String> outputNames, String script, ClassLoader... classLoaders)
           
protected  org.python.core.PyCode getCompiledScript(String script)
           
 String getLanguage()
           
 
Methods inherited from class com.liferay.portal.kernel.scripting.BaseScriptingExecutor
eval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PythonExecutor

public PythonExecutor()
Method Detail

clearCache

public void clearCache()
Specified by:
clearCache in interface ScriptingExecutor
Overrides:
clearCache in class BaseScriptingExecutor

eval

public Map<String,Object> eval(Set<String> allowedClasses,
                               Map<String,Object> inputObjects,
                               Set<String> outputNames,
                               String script,
                               ClassLoader... classLoaders)
                        throws ScriptingException
Throws:
ScriptingException

getLanguage

public String getLanguage()

getCompiledScript

protected org.python.core.PyCode getCompiledScript(String script)

Liferay 6.1.2-ce-ga3