org.springframework.extensions.surf.support
Class AbstractRequestContextFactory
java.lang.Object
org.springframework.extensions.surf.support.BaseFactory
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
Method Summary |
abstract RequestContext |
newInstance(javax.servlet.ServletRequest request)
Produces a new RequestContext instance for a given request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRequestContextFactory
public AbstractRequestContextFactory()
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.