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

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

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

Factory that exposes the current WebRequest object on demand.


Constructor Summary
private WebApplicationContextUtils.WebRequestObjectFactory()
           
 
Method Summary
 WebRequest 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.WebRequestObjectFactory

private WebApplicationContextUtils.WebRequestObjectFactory()
Method Detail

getObject

public WebRequest 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<WebRequest>
Returns:
an instance of the bean (should never be null)

toString

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