com.bankframe.fe.statemachine.base.sessionmanagers
Interface IUserSessionManager

All Known Implementing Classes:
UserSessionManager, UserSessionManager

public interface IUserSessionManager


Method Summary
 void deleteSession(IUserSession session)
          Deletes a session.
 IUserSession getSession(RequestContext requestContext)
          Returns an IUserSession based on the contents of the requestContext.
 IResponseData newResponseData()
          Returns a new IResponseData implementor.
 void setProperties(java.util.Properties properties)
          Sets a Properties for this userSessionManager.
 

Method Detail

getSession

public IUserSession getSession(RequestContext requestContext)
Returns an IUserSession based on the contents of the requestContext. If the requestContext contains an IUserSession, that is returned. If the request or response in the requestContext refers to an existing IUserSession, the existing session is retrieved and returned. If there is no relevant existing IUserSession, a new IUserSession is created. This method must also ensure the requestContext contains the IUserSession when the method completes.

Parameters:
requestContext - the request context.
Returns:
IUserSession instance.

deleteSession

public void deleteSession(IUserSession session)
Deletes a session.

Parameters:
session - the session to be deleted

newResponseData

public IResponseData newResponseData()
Returns a new IResponseData implementor.

Returns:
a new implementor of IResponseData

setProperties

public void setProperties(java.util.Properties properties)
Sets a Properties for this userSessionManager.



Copyright © 2005, 2007, Oracle. All rights reserved.