org.jbpm.pvm.internal.script
Class GroovyCompiledScript

java.lang.Object
  extended by javax.script.CompiledScript
      extended by org.jbpm.pvm.internal.script.GroovyCompiledScript

public class GroovyCompiledScript
extends javax.script.CompiledScript


Constructor Summary
GroovyCompiledScript(GroovyScriptEngine engine, java.lang.Class<?> clasz)
           
 
Method Summary
 java.lang.Object eval(javax.script.ScriptContext context)
           
 javax.script.ScriptEngine getEngine()
           
 
Methods inherited from class javax.script.CompiledScript
eval, eval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyCompiledScript

public GroovyCompiledScript(GroovyScriptEngine engine,
                            java.lang.Class<?> clasz)
Method Detail

eval

public java.lang.Object eval(javax.script.ScriptContext context)
                      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 JBoss Community. All Rights Reserved.