public interface IScript
IScript implementation must be threadsafe.
Modifier and Type | Method and Description |
---|---|
void |
execute(IRequestCycle cycle,
IScriptProcessor processor,
java.util.Map symbols)
Executes the script, which will read and modify the symbols
Map . |
org.apache.hivemind.Resource |
getScriptResource()
Returns the location from which the script was loaded.
|
org.apache.hivemind.Resource getScriptResource()
void execute(IRequestCycle cycle, IScriptProcessor processor, java.util.Map symbols)
Map
. The
script works with the IScriptProcessor
to get the generated JavaScript
included on the page.cycle
- the current request cycleprocessor
- an object that processes the results of the script, typically
an instance of Body
symbols
- Map of input symbols; execution of the script may modify the map,
creating new output symbolsTapestryUtils#getPageRenderSupport(IRequestCycle, Object)