Package org.serviceconnector.web
Class WebSessionRegistry
java.lang.Object
org.serviceconnector.registry.Registry<String,WebSession>
org.serviceconnector.web.WebSessionRegistry
- All Implemented Interfaces:
IRegistryMXBean
The Class WebSessionRegistry.
-
Field Summary
Fields inherited from class org.serviceconnector.registry.Registry
registryMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate new session.getSession(String sessionId) Gets the session.voidremoveSession(WebSession session) Removes the session.Methods inherited from class org.serviceconnector.registry.Registry
containsKey, get, getEntries, getSize, keySet, keySetArray, put, remove, toString
-
Constructor Details
-
WebSessionRegistry
public WebSessionRegistry()Instantiates a new web session registry.
-
-
Method Details
-
createSession
Create new session.- Returns:
- the i web session
-
getSession
Gets the session.- Parameters:
sessionId- the session id- Returns:
- the session
-
removeSession
Removes the session.- Parameters:
session- the session
-