org.nuxeo.ecm.core.event.script
Class FakeCompiledScript
java.lang.Object
javax.script.CompiledScript
org.nuxeo.ecm.core.event.script.FakeCompiledScript
public class FakeCompiledScript
- extends javax.script.CompiledScript
Simulates a compiled script for scripts that don't support
compilation.
- Author:
- Bogdan Stefanescu
Method Summary |
java.lang.Object |
eval(javax.script.ScriptContext arg0)
|
javax.script.ScriptEngine |
getEngine()
|
Methods inherited from class javax.script.CompiledScript |
eval, eval |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FakeCompiledScript
public FakeCompiledScript(javax.script.ScriptEngine engine,
Script script)
eval
public java.lang.Object eval(javax.script.ScriptContext arg0)
throws javax.script.ScriptException
- Specified by:
eval
in class javax.script.CompiledScript
- Throws:
javax.script.ScriptException
getEngine
public javax.script.ScriptEngine getEngine()
- Specified by:
getEngine
in class javax.script.CompiledScript
Copyright © 2010 Nuxeo SAS. All Rights Reserved.