//property value sought first in system property
propertySources.add(new SystemPropertiesPropertySource());
//then in impala properties file
propertySources.add(new StaticPropertiesPropertySource(properties));
//then as servlet context init param
propertySources.add(new ServletContextPropertySource(servletContext));
return propertySources;
}