Beispiel #1
0
 private void setupSitePropertiesService() throws Exception {
   sitePropertiesService = new SitePropertiesServiceImpl();
   sitePropertiesService.setHomeService(homeService);
   sitePropertiesService.setResourceLoader(resourceLoader);
   sitePropertiesService.afterPropertiesSet();
 }
Beispiel #2
0
 private Boolean getBooleanProp(String propertyName) {
   return sitePropertiesService.getPropertyAsBoolean(propertyName, siteKey);
 }
Beispiel #3
0
 private Integer getIntegerProp(String propertyName) {
   return sitePropertiesService.getPropertyAsInteger(propertyName, siteKey);
 }
Beispiel #4
0
 private String getProp(String propertyName) {
   return sitePropertiesService.getProperty(propertyName, siteKey);
 }