|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An Avalon based service for executing Jelly scripts. The service allows executing a script based on a name as well as by a URL.
| Method Summary | |
java.util.Map |
runNamedScript(java.lang.String name,
java.util.Map params)
Executes a named script with the supplied Map of parameters. |
java.util.Map |
runNamedScript(java.lang.String name,
java.util.Map params,
java.io.OutputStream out)
Executes a named script with the supplied Map of parameters and send the output of the script to the supplied output stream. |
java.util.Map |
runNamedScript(java.lang.String name,
java.util.Map params,
org.apache.commons.jelly.XMLOutput output)
Executes a named script with the supplied Map of parameters. |
java.util.Map |
runScript(java.lang.String url,
java.util.Map params)
Runs a script from the supplied url |
java.util.Map |
runScript(java.lang.String url,
java.util.Map params,
java.io.OutputStream out)
Runs a script from the supplied url and sends the output of the script to the supplied OutputStream. |
java.util.Map |
runScript(java.lang.String url,
java.util.Map params,
org.apache.commons.jelly.XMLOutput output)
Runs a script from the supplied url |
| Method Detail |
public java.util.Map runNamedScript(java.lang.String name,
java.util.Map params)
throws java.lang.Exception
params - Parameters to be supplied to the script
java.lang.Exception - if the script raises some kind of exception while processing
public java.util.Map runNamedScript(java.lang.String name,
java.util.Map params,
org.apache.commons.jelly.XMLOutput output)
throws java.lang.Exception
name - is the name of the script to runparams - Parameters to be supplied to the scriptoutput - is the XMLOutput for any output to be sent
java.lang.Exception - if the script raises some kind of exception while processing
public java.util.Map runNamedScript(java.lang.String name,
java.util.Map params,
java.io.OutputStream out)
throws java.lang.Exception
name - is the name of the script to runparams - Parameters to be supplied to the scriptout - is the outputStream for output to be sent
java.lang.Exception - if the script raises some kind of exception while processing
public java.util.Map runScript(java.lang.String url,
java.util.Map params,
org.apache.commons.jelly.XMLOutput output)
throws java.lang.Exception
url - The URL of the scriptparams - Parameters to be supplied to the scriptoutput - is the XMLOutput where output of the script will go
java.lang.Exception
public java.util.Map runScript(java.lang.String url,
java.util.Map params,
java.io.OutputStream out)
throws java.lang.Exception
url - The URL of the scriptparams - Parameters to be supplied to the scriptout - The OutputStream to send the output of the script to
java.lang.Exception - if the script raises some kind of exception while processing
public java.util.Map runScript(java.lang.String url,
java.util.Map params)
throws java.lang.Exception
url - The URL of the scriptparams - Parameters to be supplied to the script
java.lang.Exception - if the script raises some kind of exception while processing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||