|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xindice.server.standard.StdScriptManager
StdScriptManager
Constructor Summary | |
StdScriptManager()
|
Method Summary | |
boolean |
addScript(java.lang.String name,
Script script)
addScript adds a Script to the ScriptManager's storage by name. |
void |
dispose()
dispose disposes of the object instance. |
Configuration |
getConfig()
getConfig retrieves the configuration information for the Configurable object instance. |
Script |
getScript(java.lang.String name)
getScript retrieves a Script from the ScriptManager's storage by name. |
void |
removeScript(java.lang.String name)
removeScript removes a Script from the ScriptManager storage by name. |
void |
runScript(Script script,
Gateway gateway,
boolean useFilters)
runScript directly executs a Script. |
void |
runScript(java.lang.String name,
Gateway gateway,
boolean useFilters)
runScript executs a Script in the ScriptManager's storage by name. |
void |
setConfig(Configuration config)
setConfig sets the configuration information for the Configurable object instance. |
void |
setKernel(Kernel kernel)
setKernel provides a Kernel callback interface to the implementing object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StdScriptManager()
Method Detail |
public void setKernel(Kernel kernel)
KernelAccess
setKernel
in interface KernelAccess
org.apache.xindice.server.KernelAccess
kernel
- the Kernel referencepublic void setConfig(Configuration config)
Configurable
setConfig
in interface Configurable
org.apache.xindice.util.Configurable
config
- The configuration Nodepublic Configuration getConfig()
Configurable
getConfig
in interface Configurable
org.apache.xindice.util.Configurable
public boolean addScript(java.lang.String name, Script script)
ScriptManager
addScript
in interface ScriptManager
org.apache.xindice.server.ScriptManager
name
- the Script namescript
- the Script to addpublic void removeScript(java.lang.String name)
ScriptManager
removeScript
in interface ScriptManager
org.apache.xindice.server.ScriptManager
name
- the Script namepublic Script getScript(java.lang.String name)
ScriptManager
getScript
in interface ScriptManager
org.apache.xindice.server.ScriptManager
name
- the Script namepublic void runScript(java.lang.String name, Gateway gateway, boolean useFilters)
ScriptManager
runScript
in interface ScriptManager
org.apache.xindice.server.ScriptManager
name
- the Script namegateway
- the Gateway to use for I/OuseFilters
- whether or not to process filters before executingpublic void runScript(Script script, Gateway gateway, boolean useFilters)
ScriptManager
runScript
in interface ScriptManager
org.apache.xindice.server.ScriptManager
name
- the Script to executegateway
- the Gateway to use for I/OuseFilters
- whether or not to process filters before executingpublic void dispose()
Disposable
dispose
in interface Disposable
|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |