org.apache.agila.impl.servlet
Class AgilaServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.agila.impl.servlet.ActionServlet
org.apache.agila.impl.servlet.VelocityActionServlet
org.apache.agila.impl.servlet.AgilaServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class AgilaServlet
- extends VelocityActionServlet
Simple servlet to demo the core workflow engine. This is somewhat
deprecated at this point. Use the one in the web package.
- Version:
- $Id: AgilaServlet.java 232597 2005-08-14 11:33:39Z clim $
- Author:
- Geir Magnusson Jr.
- See Also:
- Serialized Form
Method Summary |
void |
defaultAction(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
Abstract method to be implemented by children, called when
there is no action specified |
java.lang.String |
getTemplateRoot()
Return the root of template path. |
void |
init()
|
void |
nudge_from_task(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
|
void |
show_instance_list(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
|
void |
show_process_list(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
|
void |
show_task_list(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
|
void |
start_process_instance(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
|
void |
unknownAction(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
Abstract method to be implemented by children, calle when
the action specified is not found |
void |
upload_process(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
|
void |
upload_submit(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
|
Methods inherited from class org.apache.agila.impl.servlet.VelocityActionServlet |
debug, debug, defaultAction, error, error, errorPage, fatal, fatal, getActionVerb, getInitParameter, getTemplatePathPrefix, getVelocityContext, getVelocityEngine, info, info, renderTemplate, renderTemplate, service, trace, trace, unknownAction, warn, warn |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgilaServlet
public AgilaServlet()
init
public void init()
throws javax.servlet.ServletException
- Overrides:
init
in class VelocityActionServlet
- Throws:
javax.servlet.ServletException
getTemplateRoot
public java.lang.String getTemplateRoot()
- Return the root of template path. Note that this should not include
the bit returned by getTemplatePathPrefix().
- Specified by:
getTemplateRoot
in class VelocityActionServlet
defaultAction
public void defaultAction(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
throws javax.servlet.ServletException,
java.io.IOException
- Abstract method to be implemented by children, called when
there is no action specified
- Specified by:
defaultAction
in class VelocityActionServlet
- Parameters:
req
- res
-
- Throws:
javax.servlet.ServletException
java.io.IOException
upload_submit
public void upload_submit(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
upload_process
public void upload_process(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
show_process_list
public void show_process_list(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
show_task_list
public void show_task_list(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
show_instance_list
public void show_instance_list(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
start_process_instance
public void start_process_instance(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
nudge_from_task
public void nudge_from_task(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
unknownAction
public void unknownAction(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.apache.velocity.VelocityContext ctx)
throws javax.servlet.ServletException,
java.io.IOException
- Abstract method to be implemented by children, calle when
the action specified is not found
- Specified by:
unknownAction
in class VelocityActionServlet
- Parameters:
req
- res
-
- Throws:
javax.servlet.ServletException
java.io.IOException
Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.