org.onebusaway.sms.impl
Class SessionManagerImpl

java.lang.Object
  extended by org.onebusaway.sms.impl.SessionManagerImpl
All Implemented Interfaces:
SessionManager

@Component
public class SessionManagerImpl
extends Object
implements SessionManager


Constructor Summary
SessionManagerImpl()
           
 
Method Summary
 Map<String,Object> getContext(String key)
          SessionManager Interface
 void setSessionReapearFrequency(int sessionReaperFrequency)
          The frequency with which we'll check for stale sessions
 void setSessionTimeout(int sessionTimeout)
          Timeout, in seconds, at which point a session will be considered stale
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionManagerImpl

public SessionManagerImpl()
Method Detail

setSessionReapearFrequency

public void setSessionReapearFrequency(int sessionReaperFrequency)
The frequency with which we'll check for stale sessions

Parameters:
sessionReaperFrequency - time, in seconds

setSessionTimeout

public void setSessionTimeout(int sessionTimeout)
Timeout, in seconds, at which point a session will be considered stale

Parameters:
sessionTimeout - time, in seconds

start

@PostConstruct
public void start()

stop

@PreDestroy
public void stop()

getContext

public Map<String,Object> getContext(String key)
SessionManager Interface

Specified by:
getContext in interface SessionManager


Copyright © 2011 OneBusAway. All Rights Reserved.