com.iplanet.jato
Interface RequestParticipant

All Known Subinterfaces:
RequestHandler, ViewBean
All Known Implementing Classes:
SessionModel, StoredProcModelBase, QueryModelBase

public interface RequestParticipant

Designates that an object wants to receive the current request's request context. Simply implementing this interface does not guarantee that an object will receive the request context; instead, this iterface is used to indicate to various manager objects throughout JATO that the implementor wants access to the request context. Typical developer-supplied objects that commonly implement this interface are Models. The ModelManager will check for this interface when it creates a model or retrieves it from session, and set the current request context on the object before returning it to the caller. Also, child views of a ViewBean or RequestHandler may implement this interface, and the parent implementation will propagate the request context to the child automatically.

Version:
JATO/1.2.2 $Id: RequestParticipant.java,v 1.11 2002/03/16 03:26:28 todd Exp $
See Also:
RequestContext, RequestContextImpl

Method Summary
 void setRequestContext(RequestContext requestContext)
          Sets the request context
 

Method Detail

setRequestContext

public void setRequestContext(RequestContext requestContext)
Sets the request context
Parameters:
requestContext - The request context of the current request