com.novell.emframe.dev
Class TaskContext

java.lang.Object
  extended bycom.novell.emframe.dev.PluginContext
      extended bycom.novell.emframe.dev.TaskContext
Direct Known Subclasses:
PropertyPageContext

public class TaskContext
extends PluginContext

Passes information to Task objects.

TaskContext objects are passed in the execute method of Task objects. Task objects can then use the TaskContext object to get information about the HttpServletRequest and about the user who is performing the task.


Field Summary
 
Fields inherited from class com.novell.emframe.dev.PluginContext
authenticator, baseGadgetInstance, contextPath, httpServletRequest, httpServletResponse, i18nLocale, i18nServletRequest, manageSS, resultStrings, session
 
Constructor Summary
TaskContext(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
          Constructs a TaskContext with the current HttpServletRequest and HttpServletResponse.
 
Methods inherited from class com.novell.emframe.dev.PluginContext
addToHistory, addToHistory, clearHistory, createDocument, getAttribute, getAuthenticationBroker, getAuthenticator, getBaseGadgetInstance, getBrowserLocale, getClientLocal, getContextPath, getDeviceType, getDirUtils, getDocument, geteMFrameConfigProperties, getGlobalVar, getHistory, getHttpServletRequest, getLiveTask, getLocale, getManagementServiceSet, getModulesPath, getProviderProperties, getRequest, getResponse, getResultStrings, getSession, getSessionCache, getSynchLock, getTaskId, getUserConfig, getWebappHome, init, init, isTaskAvailable, isXml, makeLike, removeAttribute, removeFromHistory, removeGlobalVar, setAttribute, setGlobalVar, storeeMFrameConfigProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskContext

public TaskContext(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse resp)
Constructs a TaskContext with the current HttpServletRequest and HttpServletResponse. From this, the TaskContext can get the HttpSession and ManagementServiceSet.

Parameters:
req - The current HttpServletRequest
resp - The current HttpServletResponse


API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated September 2 2004 0111.