|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.spray.loader.task.Script
public class Script
Script provides tasks based acces to ScripterMBean.
Based on ScriptModule in the Apache Jakarta Turbine
project.
| Constructor Summary | |
|---|---|
Script(String name)
Constructs a new script. |
|
| Method Summary | |
|---|---|
void |
execute(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
Executes the script. |
void |
initialize(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
Initializes the script. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Script(String name)
name - the name of the task.
IllegalArgumentException - if name is not a script.| Method Detail |
|---|
public void initialize(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
initialize in interface Taskrequest - the request.response - the response.chain - the filter chain.context - the context.
public void execute(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
throws Exception
execute in interface Taskrequest - the request.response - the response.chain - the filter chain.context - the context.
Exception - on errors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||