org.springframework.richclient.application.session
Class ApplicationSessionInitializer

Show UML class diagram
java.lang.Object
  extended by org.springframework.richclient.application.session.ApplicationSessionInitializer

public class ApplicationSessionInitializer
extends Object


Constructor Summary
ApplicationSessionInitializer()
           
 
Method Summary
 List<String> getPostStartupCommandIds()
           
 List<String> getPreStartupCommandIds()
           
 Map<String,Object> getSessionAttributes()
           
 Map<String,Object> getUserAttributes()
           
 void initializeSession()
          Hook that is called before the session attributes are retrieved.
 void initializeUser()
          Hook that is called before the user attributes are retrieved.
 void setPostStartupCommandIds(List<String> commandIds)
          Sets the list of command ids to be executed after startup of the application window
 void setPreStartupCommandIds(List<String> commandIds)
          Sets the list of command ids to be executed before startup of the application window
 void setSessionAttributes(Map<String,Object> attributes)
          Sets extra session attributes to be added to the ApplicationSession after login
 void setUserAttributes(Map<String,Object> attributes)
          Sets extra user attributes to be added to the ApplicationSession after login
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationSessionInitializer

public ApplicationSessionInitializer()
Method Detail

setUserAttributes

public void setUserAttributes(Map<String,Object> attributes)
Sets extra user attributes to be added to the ApplicationSession after login


getUserAttributes

public Map<String,Object> getUserAttributes()
Returns:
extra user attributes to be added to the ApplicationSession after login

setSessionAttributes

public void setSessionAttributes(Map<String,Object> attributes)
Sets extra session attributes to be added to the ApplicationSession after login


getSessionAttributes

public Map<String,Object> getSessionAttributes()
Returns:
extra session attributes to be added to the ApplicationSession after login

setPreStartupCommandIds

public void setPreStartupCommandIds(List<String> commandIds)
Sets the list of command ids to be executed before startup of the application window


getPreStartupCommandIds

public List<String> getPreStartupCommandIds()
Returns:
the list of command ids to be executed before startup of the application window

setPostStartupCommandIds

public void setPostStartupCommandIds(List<String> commandIds)
Sets the list of command ids to be executed after startup of the application window


getPostStartupCommandIds

public List<String> getPostStartupCommandIds()
Returns:
the list of command ids to be executed after startup of the application window

initializeSession

public void initializeSession()
Hook that is called before the session attributes are retrieved. Here you can set session attributes in code.


initializeUser

public void initializeUser()
Hook that is called before the user attributes are retrieved. Here you can set user attributes in code.



Copyright © 2004-2009 The Spring Framework. All Rights Reserved.