org.jasig.portal.spring.web.context.support
Class PortalSessionScope
java.lang.Object
org.jasig.portal.spring.web.context.support.PortalSessionScope
- All Implemented Interfaces:
- Scope
public class PortalSessionScope
- extends Object
- implements Scope
Wraps SessionScope to provide functionality when no session is available by using
a singleton instance.
- Version:
- $Revision$
- Author:
- Eric Dalquist
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESTRUCTION_CALLBACK_NAME_PREFIX
public static final String DESTRUCTION_CALLBACK_NAME_PREFIX
logger
protected final org.apache.commons.logging.Log logger
PortalSessionScope
public PortalSessionScope()
getPortalRequestUtils
public IPortalRequestUtils getPortalRequestUtils()
setPortalRequestUtils
public void setPortalRequestUtils(IPortalRequestUtils portalRequestUtils)
get
public Object get(String name,
ObjectFactory objectFactory)
- Specified by:
get in interface Scope
getConversationId
public String getConversationId()
- Specified by:
getConversationId in interface Scope
registerDestructionCallback
public void registerDestructionCallback(String name,
Runnable callback)
- Specified by:
registerDestructionCallback in interface Scope
remove
public Object remove(String name)
- Specified by:
remove in interface Scope
getPortalSesion
protected HttpSession getPortalSesion(boolean create)
Copyright © 2010 Jasig. All Rights Reserved.