Liferay 6.0.5

com.liferay.portal.scripting.beanshell
Class BeanShellExecutor

java.lang.Object
  extended by com.liferay.portal.scripting.beanshell.BeanShellExecutor
All Implemented Interfaces:
ScriptingExecutor

public class BeanShellExecutor
extends Object
implements ScriptingExecutor


Field Summary
static String LANGUAGE
           
 
Constructor Summary
BeanShellExecutor()
           
 
Method Summary
 void clearCache()
           
 Map<String,Object> eval(Set<String> allowedClasses, Map<String,Object> inputObjects, Set<String> outputNames, String script)
           
 String getLanguage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LANGUAGE

public static final String LANGUAGE
See Also:
Constant Field Values
Constructor Detail

BeanShellExecutor

public BeanShellExecutor()
Method Detail

clearCache

public void clearCache()
Specified by:
clearCache in interface ScriptingExecutor

getLanguage

public String getLanguage()
Specified by:
getLanguage in interface ScriptingExecutor

eval

public Map<String,Object> eval(Set<String> allowedClasses,
                               Map<String,Object> inputObjects,
                               Set<String> outputNames,
                               String script)
                        throws ScriptingException
Specified by:
eval in interface ScriptingExecutor
Throws:
ScriptingException

Liferay 6.0.5