com.bankframe.services.requestcontext
Class RequestContextFactory

java.lang.Object
  extended bycom.bankframe.services.requestcontext.RequestContextFactory
Direct Known Subclasses:
NullRequestContextFactory, SampleRequestContextFactory

public abstract class RequestContextFactory
extends java.lang.Object

This class creates and configures RequestContext instances.


Method Summary
static RequestContext getRequestContext()
          This method returns the current RequestContext instance for the current request
static RequestContext getRequestContext(Request request)
          This method gets a RequestContext instance for the specified request
static void resetRequestContext()
          This method clears the RequestContext to allow any objects referenced to be garbage collected.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRequestContext

public static RequestContext getRequestContext(Request request)
This method gets a RequestContext instance for the specified request

Parameters:
request -
Returns:

resetRequestContext

public static void resetRequestContext()
This method clears the RequestContext to allow any objects referenced to be garbage collected.


getRequestContext

public static RequestContext getRequestContext()
This method returns the current RequestContext instance for the current request



Copyright © 2005, 2007, Oracle. All rights reserved.