net.sf.sail.core.session
Class DefaultSessionService
java.lang.Object
net.sf.sail.core.session.DefaultSessionService
- All Implemented Interfaces:
- SessionService
public class DefaultSessionService
- extends java.lang.Object
- implements SessionService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSessionService
public DefaultSessionService(SessionContext session)
userRequestsTermination
public void userRequestsTermination()
- Specified by:
userRequestsTermination
in interface SessionService
addSessionEventListener
public void addSessionEventListener(SessionEventListener sel)
- Specified by:
addSessionEventListener
in interface SessionService
getUsers
public java.util.Collection<User> getUsers()
- Description copied from interface:
SessionService
- Who is at the computer right now
- Specified by:
getUsers
in interface SessionService
addUser
public void addUser(User user)
- Specified by:
addUser
in interface SessionService
removeUser
public void removeUser(User user)
- Specified by:
removeUser
in interface SessionService
getSessionId
public SessionUuid getSessionId()
- Specified by:
getSessionId
in interface SessionService
getProperty
public java.lang.String getProperty(java.lang.String key,
java.lang.String def)
- Description copied from interface:
SessionService
- Return a session property.
- Specified by:
getProperty
in interface SessionService
- Parameters:
key
- name of session propertydef
- a default value
- Returns:
setProperty
public void setProperty(java.lang.String key,
java.lang.String value)
Copyright © 2004-2008 TELS Center. All Rights Reserved.