org.norther.tammi.spray.loader.task
Interface Task
- All Known Implementing Classes:
- Action, DesktopDataAction, DesktopDataAction.Found, DesktopDataAction.Own, DesktopDataAction.Remove, DesktopDataAction.Shared, DictionaryAction, ElementStepAction, FlowStepAction, FormStepAction, IdentityElementAction, IdentityElementAction.AddToDesktop, IdentityElementAction.Delete, IdentityElementAction.Desktop, IdentityElementAction.Found, IdentityElementAction.Insert, IdentityElementAction.Own, IdentityElementAction.RemoveFromDesktop, IdentityElementAction.Search, IdentityElementAction.Shared, IdentityElementAction.Update, IdentityElementAction.View, MetaDataAction, MetaDataAction.Copy, MetaDataAction.Delete, MetaDataAction.Desktop, MetaDataAction.Found, MetaDataAction.Insert, MetaDataAction.Move, MetaDataAction.Own, MetaDataAction.Search, MetaDataAction.Shared, MetaDataAction.Update, MetaDataAction.View, MetaElementAction, MetaElementAction.Delete, MetaElementAction.Insert, MetaElementAction.Update, MetaElementAction.View, MetaFolderAction, MetaFolderAction.Access, MetaFolderAction.Delete, MetaFolderAction.Group, MetaFolderAction.Insert, MetaFolderAction.Move, MetaFolderAction.Own, MetaFolderAction.Update, MetaFolderAction.View, NextStepAction, QuickLogout, RepositoryStepAction, Script, SelectionStepAction, SilentLogout, Submit, TemplateAction, UserAccountAction, UserAccountAction.Delete, UserAccountAction.Insert, UserAccountAction.Login, UserAccountAction.Modify, UserAccountAction.Register, UserAccountAction.Renew, UserAccountAction.Update, UserFolderAction, UserFolderAction.Delete, UserFolderAction.Insert, UserFolderAction.Login, UserFolderAction.Modify, UserFolderAction.Register, UserFolderAction.Update, UserGroupAction, UserGroupAction.Attach, UserGroupAction.Attached, UserGroupAction.Delete, UserGroupAction.Detach, UserGroupAction.Found, UserGroupAction.Insert, UserGroupAction.Join, UserGroupAction.Joined, UserGroupAction.Member, UserGroupAction.Move, UserGroupAction.Own, UserGroupAction.Quit, UserGroupAction.Search, UserGroupAction.Update, VariableStepAction, VariableStepAction.Delete, VariableStepAction.Found, VariableStepAction.Insert, VariableStepAction.Search, VariableStepAction.Select, VariableStepAction.Update
public interface Task
An interface to tasks extending functionality of filters by providing
actions, scripts, builders and other kinds of customized tasks that can be
invoked by TaskLoaderMBean from the doFilter method of filters during request
processing.
Tasks must be thread-safe.
Based on Module
in the Apache Jakarta Turbine project.
- Version:
- $Id: Task.java,v 1.5 2010-05-28 12:52:22 cvsimp Exp $
- Author:
- Jason van Zyl, Ilkka Priha
Nested Class Summary |
static class |
Task.Control
The execution control. |
initialize
void initialize(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
- Initializes customized functionality after construction but before the
first execution. The initialization parameters are the same as given to
the first execution.
- Parameters:
request
- the request.response
- the response.chain
- the filter chain.context
- a task specific context.
execute
Task.Control execute(ServletRequest request,
ServletResponse response,
FilterChain chain,
Object context)
throws Exception
- Executes customized functionality.
- Parameters:
request
- the request.response
- the response.chain
- the filter chain.context
- a task specific context.
- Returns:
- the execution control or null.
- Throws:
Exception
- on errors.
Copyright © 2004 The Norther Organization. All rights reserved.