Package 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
-
-
Constructor Summary
Constructors Constructor Description InitialSetupServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisInitialSetupRequired(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.voidsetUserService(UserService userService)
-
-
-
Method Detail
-
setUserService
@Autowired 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:
isInitialSetupRequiredin interfaceInitialSetupService
-
-