|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.spray.loader.task.Action
org.norther.tammi.spray.loader.task.ActionEvent
org.norther.tammi.spray.template.task.TemplateAction
public abstract class TemplateAction
Extends ActionEvent by providing a template context as the context parameter.
Based on TemplateAction in the Apache Jakarta Turbine
project.
| Constructor Summary | |
|---|---|
TemplateAction()
Constructs a new template action. |
|
| Method Summary | |
|---|---|
void |
execute(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
Executes the submitted event. |
void |
execute(ServletRequest request,
ServletResponse response,
FilterChain chain,
TemplateContext context)
Executes the submitted event. |
protected Class[] |
getSignature()
Gets the signature. |
void |
submit(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
Implements the default submit method if the specific one is not implemented. |
void |
submit(ServletRequest request,
ServletResponse response,
FilterChain chain,
TemplateContext context)
Implements the default submit method if any of the specific ones fails. |
| Methods inherited from class org.norther.tammi.spray.loader.task.ActionEvent |
|---|
getAction, getAction, getAction, initialize, invoke |
| Methods inherited from class org.norther.tammi.spray.loader.task.Action |
|---|
find, getFilter, getMBeanServer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemplateAction()
| Method Detail |
|---|
public void execute(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
throws Exception
ActionEvent
execute in interface Taskexecute in class ActionEventrequest - the request.response - the response.chain - the filter chain.context - the context.
Exception - on errors.
public void submit(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
throws Exception
ActionEvent
submit in class ActionEventrequest - the request.response - the response.chain - the filter chain.context - the template context.
Exception - on errors.
public void execute(ServletRequest request,
ServletResponse response,
FilterChain chain,
TemplateContext context)
throws Exception
request - the request.response - the response.chain - the filter chain.context - the template context.
Exception - on errors.
public void submit(ServletRequest request,
ServletResponse response,
FilterChain chain,
TemplateContext context)
throws Exception
request - the request.response - the response.chain - the filter chain.context - the template context.
Exception - on errors.protected Class[] getSignature()
getSignature in class ActionEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||