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.ScriptFactory
public Class[] getScriptInterfaces()
getScriptInterfaces
in interface org.springframework.scripting.ScriptFactory
public boolean requiresConfigInterface()
requiresConfigInterface
in interface org.springframework.scripting.ScriptFactory
public Object getScriptedObject(org.springframework.scripting.ScriptSource scriptSourceLocator, Class[] scriptInterfaces) throws IOException, org.springframework.scripting.ScriptCompilationException
getScriptedObject
in interface org.springframework.scripting.ScriptFactory
IOException
org.springframework.scripting.ScriptCompilationException
public Class getScriptedObjectType(org.springframework.scripting.ScriptSource src) throws IOException, org.springframework.scripting.ScriptCompilationException
getScriptedObjectType
in interface org.springframework.scripting.ScriptFactory
IOException
org.springframework.scripting.ScriptCompilationException
public boolean requiresScriptedObjectRefresh(org.springframework.scripting.ScriptSource src)
requiresScriptedObjectRefresh
in interface org.springframework.scripting.ScriptFactory
Copyright © 2006-2012 The Red5 Project