org.red5.server.script.rhino
public class RhinoScriptUtils extends Object
Constructor and Description |
---|
RhinoScriptUtils() |
Modifier and Type | Method and Description |
---|---|
static Object |
createRhinoObject(String scriptSource,
Class[] interfaces,
Class extendedClass)
Create a new Rhino-scripted object from the given script source.
|
public static Object createRhinoObject(String scriptSource, Class[] interfaces, Class extendedClass) throws org.springframework.scripting.ScriptCompilationException, IOException, Exception
scriptSource
- the script source textinterfaces
- the interfaces that the scripted Java object is supposed to
implementextendedClass
- org.springframework.scripting.ScriptCompilationException
- in case of Rhino parsing failureIOException
Exception
Copyright © 2006-2012 The Red5 Project