public class ApplicationInitialization extends Object implements org.springframework.web.context.ServletConfigAware
Constructor and Description |
---|
ApplicationInitialization(UserService userService,
ConfigurationService configurationService,
ReportService reportService) |
Modifier and Type | Method and Description |
---|---|
void |
init() |
static void |
initializeAllLanguages(ConfigurationService configurationService,
boolean forceReload)
This method will attempt to load all of the locales defined in the
ITracker.properties file, and add them to the database if they don't
already exist.
|
void |
setServletConfig(javax.servlet.ServletConfig servletConfig) |
public ApplicationInitialization(UserService userService, ConfigurationService configurationService, ReportService reportService)
public void init()
public static void initializeAllLanguages(ConfigurationService configurationService, boolean forceReload)
configurationService
- a configurationService object to use when processing the
localesforceReload
- if true, it will reload the languages from the property files
even if they are listed as being up to datepublic void setServletConfig(javax.servlet.ServletConfig servletConfig)
setServletConfig
in interface org.springframework.web.context.ServletConfigAware
Copyright © 2002-2015 itracker. All Rights Reserved.