org.springframework.web.portlet.context
Class PortletApplicationContextUtils.SessionObjectFactory

java.lang.Object
  extended by org.springframework.web.portlet.context.PortletApplicationContextUtils.SessionObjectFactory
All Implemented Interfaces:
java.io.Serializable, ObjectFactory<PortletSession>
Enclosing class:
PortletApplicationContextUtils

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

Factory that exposes the current session object on demand.


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

PortletApplicationContextUtils.SessionObjectFactory

private PortletApplicationContextUtils.SessionObjectFactory()
Method Detail

getObject

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

toString

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