public class JythonScriptFactory extends Object implements org.springframework.scripting.ScriptFactory
ScriptFactory implementation for a
Python script.| Constructor and Description |
|---|
JythonScriptFactory(String scriptSourceLocator) |
JythonScriptFactory(String scriptSourceLocator,
Class[] scriptInterfaces) |
JythonScriptFactory(String scriptSourceLocator,
Class[] scriptInterfaces,
Object[] arguments) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getScriptedObject(org.springframework.scripting.ScriptSource scriptSourceLocator,
Class[] scriptInterfaces) |
Class |
getScriptedObjectType(org.springframework.scripting.ScriptSource src) |
Class[] |
getScriptInterfaces() |
String |
getScriptSourceLocator() |
boolean |
requiresConfigInterface() |
boolean |
requiresScriptedObjectRefresh(org.springframework.scripting.ScriptSource src) |
public JythonScriptFactory(String scriptSourceLocator)
public JythonScriptFactory(String scriptSourceLocator, Class[] scriptInterfaces)
public String getScriptSourceLocator()
getScriptSourceLocator in interface org.springframework.scripting.ScriptFactorypublic Class[] getScriptInterfaces()
getScriptInterfaces in interface org.springframework.scripting.ScriptFactorypublic boolean requiresConfigInterface()
requiresConfigInterface in interface org.springframework.scripting.ScriptFactorypublic Object getScriptedObject(org.springframework.scripting.ScriptSource scriptSourceLocator, Class[] scriptInterfaces) throws IOException, org.springframework.scripting.ScriptCompilationException
getScriptedObject in interface org.springframework.scripting.ScriptFactoryIOExceptionorg.springframework.scripting.ScriptCompilationExceptionpublic Class getScriptedObjectType(org.springframework.scripting.ScriptSource src) throws IOException, org.springframework.scripting.ScriptCompilationException
getScriptedObjectType in interface org.springframework.scripting.ScriptFactoryIOExceptionorg.springframework.scripting.ScriptCompilationExceptionpublic boolean requiresScriptedObjectRefresh(org.springframework.scripting.ScriptSource src)
requiresScriptedObjectRefresh in interface org.springframework.scripting.ScriptFactoryCopyright © 2006-2012 The Red5 Project