org.springframework.extensions.surf.support
Class AbstractRequestContextFactory

java.lang.Object
  extended by org.springframework.extensions.surf.support.BaseFactory
      extended by org.springframework.extensions.surf.support.AbstractRequestContextFactory
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware, RequestContextFactory
Direct Known Subclasses:
DefaultRequestContextFactory

public abstract class AbstractRequestContextFactory
extends BaseFactory
implements RequestContextFactory

Abstract base class for RequestContextFactory implementations. This is provided as a convenience to developers who wish to build their own custom RequestContextFactory variations.

Author:
muzquiano

Field Summary
 
Fields inherited from interface org.springframework.extensions.surf.RequestContextFactory
SILENT_INIT, USER_ENDPOINT
 
Constructor Summary
AbstractRequestContextFactory()
           
 
Method Summary
abstract  RequestContext newInstance(javax.servlet.ServletRequest request)
          Produces a new RequestContext instance for a given request.
 
Methods inherited from class org.springframework.extensions.surf.support.BaseFactory
getApplicationContext, getResourceService, getServiceRegistry, getWebFrameworkConfiguration, getWebFrameworkManager, setApplicationContext, setServiceRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRequestContextFactory

public AbstractRequestContextFactory()
Method Detail

newInstance

public abstract RequestContext newInstance(javax.servlet.ServletRequest request)
                                    throws RequestContextException
Description copied from interface: RequestContextFactory
Produces a new RequestContext instance for a given request. Always returns a new RequestContext instance - or an exception is thrown.

Specified by:
newInstance in interface RequestContextFactory
Returns:
The RequestContext instance
Throws:
RequestContextException


Copyright © 2009 SpringSource, Inc. All Rights Reserved.