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

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

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

Factory that exposes the current session object on demand.


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

private WebApplicationContextUtils.SessionObjectFactory()
Method Detail

getObject

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

toString

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