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