org.springframework.web.context.support
Class WebApplicationContextUtils.RequestObjectFactory

java.lang.Object
  extended by org.springframework.web.context.support.WebApplicationContextUtils.RequestObjectFactory
All Implemented Interfaces:
java.io.Serializable, ObjectFactory<ServletRequest>
Enclosing class:
WebApplicationContextUtils

private static class WebApplicationContextUtils.RequestObjectFactory
extends java.lang.Object
implements ObjectFactory<ServletRequest>, java.io.Serializable

Factory that exposes the current request object on demand.


Constructor Summary
private WebApplicationContextUtils.RequestObjectFactory()
           
 
Method Summary
 ServletRequest getObject()
          Return an instance (possibly shared or independent) of the object managed by this factory.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebApplicationContextUtils.RequestObjectFactory

private WebApplicationContextUtils.RequestObjectFactory()
Method Detail

getObject

public ServletRequest getObject()
Description copied from interface: ObjectFactory
Return an instance (possibly shared or independent) of the object managed by this factory.

Specified by:
getObject in interface ObjectFactory<ServletRequest>
Returns:
an instance of the bean (should never be null)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object