Esempio n. 1
0
 @SuppressWarnings("unchecked")
 public Map<String, String> getConfiguration() {
   if (configuration == null) {
     configuration = JcrUtil.getProperty(CONFIGURATION, node);
   }
   return configuration;
 }
Esempio n. 2
0
 public void setConfiguration(Map<String, String> configuration) {
   try {
     this.configuration = configuration;
     JcrUtil.setProperty(CONFIGURATION, configuration, node);
   } catch (RepositoryException e) {
     throw new RuntimeException(e);
   }
 }