| |
|
| java.lang.Object de.jwic.base.SessionContainer
SessionContainer | public class SessionContainer (Code) | | Contains the SessionContext assigned to a specified session. It manages the
state of the application.
author: Florian Lippisch version: $Revision: 1.2 $ |
STATE_DESTROYED | final public static int STATE_DESTROYED(Code) | | |
STATE_NORMAL | final public static int STATE_NORMAL(Code) | | |
STATE_STORED | final public static int STATE_STORED(Code) | | |
SessionContainer | public SessionContainer(String id, String clientId)(Code) | | Constructs a new SessionStore with the given ID.
Parameters: id - |
access | public void access()(Code) | | Update the access timestamp.
|
getAge | public String getAge()(Code) | | Returns the age in minutes and seconds.
Parameters: container - |
getApplicationId | public String getApplicationId()(Code) | | Returns the applicationId. |
getClientId | public String getClientId()(Code) | | Returns the clientId. |
getLastAccess | public long getLastAccess()(Code) | | Returns the lastAccess. |
getState | public int getState()(Code) | | Returns the state. |
setApplicationId | public void setApplicationId(String applicationId)(Code) | | Parameters: applicationId - The applicationId to set. |
setClientId | public void setClientId(String clientId)(Code) | | Parameters: clientId - The clientId to set. |
setId | public void setId(String id)(Code) | | Parameters: id - The id to set. |
setSessionContext | public void setSessionContext(SessionContext sessionContext)(Code) | | Parameters: sessionContext - The sessionContext to set. |
setState | public void setState(int state)(Code) | | Parameters: state - The state to set. |
|
|
|