public abstract class BaseScriptingExecutor
extends java.lang.Object
implements com.liferay.portal.kernel.scripting.ScriptingExecutor
Constructor and Description |
---|
BaseScriptingExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
clearCache() |
java.util.Map<java.lang.String,java.lang.Object> |
eval(java.util.Set<java.lang.String> allowedClasses,
java.util.Map<java.lang.String,java.lang.Object> inputObjects,
java.util.Set<java.lang.String> outputNames,
java.io.File scriptFile) |
java.util.Map<java.lang.String,java.lang.Object> |
eval(java.util.Set<java.lang.String> allowedClasses,
java.util.Map<java.lang.String,java.lang.Object> inputObjects,
java.util.Set<java.lang.String> outputNames,
java.io.File scriptFile,
java.lang.ClassLoader... classloaders)
Deprecated.
As of 1.0.0, replaced by
eval(Set, Map, Set, File) |
java.util.Map<java.lang.String,java.lang.Object> |
eval(java.util.Set<java.lang.String> allowedClasses,
java.util.Map<java.lang.String,java.lang.Object> inputObjects,
java.util.Set<java.lang.String> outputNames,
java.lang.String script,
java.lang.ClassLoader... classloaders)
Deprecated.
As of 1.0.0, replaced by
ScriptingExecutor.eval(Set, Map, Set, String) |
protected java.lang.ClassLoader |
getClassLoader() |
com.liferay.portal.kernel.scripting.ScriptingContainer<?> |
getScriptingContainer() |
public void clearCache()
clearCache
in interface com.liferay.portal.kernel.scripting.ScriptingExecutor
public java.util.Map<java.lang.String,java.lang.Object> eval(java.util.Set<java.lang.String> allowedClasses, java.util.Map<java.lang.String,java.lang.Object> inputObjects, java.util.Set<java.lang.String> outputNames, java.io.File scriptFile) throws com.liferay.portal.kernel.scripting.ScriptingException
eval
in interface com.liferay.portal.kernel.scripting.ScriptingExecutor
com.liferay.portal.kernel.scripting.ScriptingException
@Deprecated public java.util.Map<java.lang.String,java.lang.Object> eval(java.util.Set<java.lang.String> allowedClasses, java.util.Map<java.lang.String,java.lang.Object> inputObjects, java.util.Set<java.lang.String> outputNames, java.io.File scriptFile, java.lang.ClassLoader... classloaders) throws com.liferay.portal.kernel.scripting.ScriptingException
eval(Set, Map, Set, File)
eval
in interface com.liferay.portal.kernel.scripting.ScriptingExecutor
com.liferay.portal.kernel.scripting.ScriptingException
@Deprecated public java.util.Map<java.lang.String,java.lang.Object> eval(java.util.Set<java.lang.String> allowedClasses, java.util.Map<java.lang.String,java.lang.Object> inputObjects, java.util.Set<java.lang.String> outputNames, java.lang.String script, java.lang.ClassLoader... classloaders) throws com.liferay.portal.kernel.scripting.ScriptingException
ScriptingExecutor.eval(Set, Map, Set, String)
eval
in interface com.liferay.portal.kernel.scripting.ScriptingExecutor
com.liferay.portal.kernel.scripting.ScriptingException
public com.liferay.portal.kernel.scripting.ScriptingContainer<?> getScriptingContainer()
getScriptingContainer
in interface com.liferay.portal.kernel.scripting.ScriptingExecutor
protected java.lang.ClassLoader getClassLoader()