org.jasig.portal.user
Class UserInstanceManagerImpl

java.lang.Object
  extended by org.jasig.portal.user.UserInstanceManagerImpl
All Implemented Interfaces:
EventListener, IUserInstanceManager, ApplicationListener

public class UserInstanceManagerImpl
extends Object
implements IUserInstanceManager, ApplicationListener

Determines which user instance object to use for a given user.

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

Field Summary
protected  org.apache.commons.logging.Log logger
           
 
Constructor Summary
UserInstanceManagerImpl()
           
 
Method Summary
 IPersonManager getPersonManager()
           
 IPortalRequestUtils getPortalRequestUtils()
           
 IUserInstance getUserInstance(HttpServletRequest request)
          Returns the UserInstance object that is associated with the given request.
protected  org.jasig.portal.user.UserInstanceManagerImpl.UserInstanceHolder getUserInstanceHolder(HttpSession session)
           
 void onApplicationEvent(ApplicationEvent event)
           
 void setPersonManager(IPersonManager personManager)
           
 void setPortalRequestUtils(IPortalRequestUtils portalRequestUtils)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

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

UserInstanceManagerImpl

public UserInstanceManagerImpl()
Method Detail

getPersonManager

public IPersonManager getPersonManager()
Returns:
the personManager

setPersonManager

public void setPersonManager(IPersonManager personManager)
Parameters:
personManager - the personManager to set

getPortalRequestUtils

public IPortalRequestUtils getPortalRequestUtils()

setPortalRequestUtils

public void setPortalRequestUtils(IPortalRequestUtils portalRequestUtils)
Parameters:
portalRequestUtils -

getUserInstance

public IUserInstance getUserInstance(HttpServletRequest request)
                              throws PortalException
Returns the UserInstance object that is associated with the given request.

Specified by:
getUserInstance in interface IUserInstanceManager
Parameters:
request - Incoming HttpServletRequest
Returns:
UserInstance object associated with the given request
Throws:
PortalException

onApplicationEvent

public void onApplicationEvent(ApplicationEvent event)
Specified by:
onApplicationEvent in interface ApplicationListener

getUserInstanceHolder

protected org.jasig.portal.user.UserInstanceManagerImpl.UserInstanceHolder getUserInstanceHolder(HttpSession session)


Copyright © 2010 Jasig. All Rights Reserved.