org.jasig.portal
Class UserInstance

java.lang.Object
  extended by org.jasig.portal.UserInstance
All Implemented Interfaces:
IUserInstance

public class UserInstance
extends Object
implements IUserInstance

A class handling holding all user state information. The class is also reponsible for request processing and orchestrating the entire rendering procedure. (this is a replacement for the good old LayoutBean class)

Version:
$Revision: 19776 $
Author:
Peter Kharchenko pkharchenko@interactivebusiness.com"

Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
UserInstance(IPerson person, HttpServletRequest request)
           
 
Method Summary
 void destroySession(HttpSession session)
          This notifies UserInstance that it has been unbound from the session.
 ChannelManager getChannelManager()
           
 LocaleManager getLocaleManager()
           
 IPerson getPerson()
           
 IUserPreferencesManager getPreferencesManager()
           
 Object getRenderingLock()
           
static long getUserSessions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

UserInstance

public UserInstance(IPerson person,
                    HttpServletRequest request)
Method Detail

getUserSessions

public static long getUserSessions()

getPerson

public IPerson getPerson()
Specified by:
getPerson in interface IUserInstance
Returns:
The Person this UserInstance is for

getPreferencesManager

public IUserPreferencesManager getPreferencesManager()
Specified by:
getPreferencesManager in interface IUserInstance
Returns:
The user preferences manager for the user instance

getChannelManager

public ChannelManager getChannelManager()
Specified by:
getChannelManager in interface IUserInstance
Returns:
the channelManager for the user instance

getLocaleManager

public LocaleManager getLocaleManager()
Specified by:
getLocaleManager in interface IUserInstance
Returns:
the localeManager for the user instance

getRenderingLock

public Object getRenderingLock()
Specified by:
getRenderingLock in interface IUserInstance
Returns:
the renderingLock for the user instance

destroySession

public void destroySession(HttpSession session)
This notifies UserInstance that it has been unbound from the session. Method triggers cleanup in ChannelManager.

Specified by:
destroySession in interface IUserInstance
Parameters:
session - The session that was just destroyed for this user instance.
See Also:
IUserInstance.destroySession(javax.servlet.http.HttpSession)


Copyright © 2010 Jasig. All Rights Reserved.