org.openmdx.portal.servlet.control
Class ScriptControl.ScriptEngine

java.lang.Object
  extended by org.openmdx.portal.servlet.control.ScriptControl.ScriptEngine
Enclosing class:
ScriptControl

public static class ScriptControl.ScriptEngine
extends Object


Constructor Summary
ScriptControl.ScriptEngine(URL[] roots)
           
ScriptControl.ScriptEngine(URL[] roots, ClassLoader parentClassLoader)
           
 
Method Summary
 ClassLoader getParentClassLoader()
           
 Object run(String scriptName, groovy.lang.Binding binding)
           
 void setParentClassLoader(ClassLoader parentClassLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptControl.ScriptEngine

public ScriptControl.ScriptEngine(URL[] roots)

ScriptControl.ScriptEngine

public ScriptControl.ScriptEngine(URL[] roots,
                                  ClassLoader parentClassLoader)
Method Detail

getParentClassLoader

public ClassLoader getParentClassLoader()

setParentClassLoader

public void setParentClassLoader(ClassLoader parentClassLoader)

run

public Object run(String scriptName,
                  groovy.lang.Binding binding)
           throws groovy.util.ResourceException,
                  groovy.util.ScriptException
Throws:
groovy.util.ResourceException
groovy.util.ScriptException


This software is published under the BSD license. Copyright © 2006-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.