org.onebusaway.presentation.impl
Class InitialSetupServiceImpl
java.lang.Object
org.onebusaway.presentation.impl.InitialSetupServiceImpl
- All Implemented Interfaces:
- InitialSetupService
@Component
public class InitialSetupServiceImpl
- extends Object
- implements InitialSetupService
Method Summary |
boolean |
isInitialSetupRequired(boolean forceRefresh)
Since this is going to be called for EVERY incoming web-request, we don't
want to do something like make a database hit for each request. |
void |
setUserService(UserService userService)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InitialSetupServiceImpl
public InitialSetupServiceImpl()
setUserService
public void setUserService(UserService userService)
isInitialSetupRequired
public boolean isInitialSetupRequired(boolean forceRefresh)
- Since this is going to be called for EVERY incoming web-request, we don't
want to do something like make a database hit for each request. Thus, we
cache.
- Specified by:
isInitialSetupRequired
in interface InitialSetupService
Copyright © 2012 OneBusAway. All Rights Reserved.