|
||||||||||
| 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
public abstract class Action
Action is an abstract base class for tasks.
Based on Action in the Apache Jakarta Turbine project.
| Constructor Summary | |
|---|---|
Action()
Constructs a new action. |
|
| Method Summary | |
|---|---|
abstract void |
execute(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
Executes customized functionality. |
protected Object |
find(ObjectName name,
FilterChain chain)
Finds the named MBean. |
protected Filter |
getFilter(Class clazz,
FilterChain chain)
Gets the specified filter. |
protected MBeanServer |
getMBeanServer(FilterChain chain)
Gets the current MBean server. |
void |
initialize(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
Initializes customized functionality after construction but before the first execution. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Action()
| Method Detail |
|---|
public void initialize(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
Task
initialize in interface Taskrequest - the request.response - the response.chain - the filter chain.context - a task specific context.
public abstract void execute(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
throws Exception
Task
execute in interface Taskrequest - the request.response - the response.chain - the filter chain.context - a task specific context.
Exception - for errors.
protected Object find(ObjectName name,
FilterChain chain)
name - the object name.chain - the filter chain.
protected Filter getFilter(Class clazz,
FilterChain chain)
clazz - the class of the filter.chain - the filter chain.
protected MBeanServer getMBeanServer(FilterChain chain)
chain - the filter chain.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||