com.novell.emframe.dev
Class eMFrameFactory

java.lang.Object
  extended bycom.novell.emframe.dev.eMFrameFactory

public class eMFrameFactory
extends java.lang.Object

Factory for creating and getting TaskContext objects.


Constructor Summary
eMFrameFactory()
           
 
Method Summary
static TaskContext createTaskContext(javax.servlet.http.HttpServletRequest req, com.novell.nps.gadgetManager.BaseGadgetInstance bgi)
          Creates a TaskContext based upon the HttpServletRequest and a Task.
static TaskContext getTaskContext(javax.servlet.http.HttpServletRequest req)
          Get an existing TaskContext or creates a new one based upon the HttpServletRequest.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

eMFrameFactory

public eMFrameFactory()
Method Detail

createTaskContext

public static TaskContext createTaskContext(javax.servlet.http.HttpServletRequest req,
                                            com.novell.nps.gadgetManager.BaseGadgetInstance bgi)
Creates a TaskContext based upon the HttpServletRequest and a Task.

Parameters:
req - HttpServletRequest currently in use
bgi - BaseGadgetInstance of a task
Returns:
TaskContext for use by the task

getTaskContext

public static TaskContext getTaskContext(javax.servlet.http.HttpServletRequest req)
Get an existing TaskContext or creates a new one based upon the HttpServletRequest.

Parameters:
req - HttpServletRequest currently in use
Returns:
TaskContext for use by the task


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.