Package net.sourceforge.jivalo.cnfmgr.configuration.service

Examples of net.sourceforge.jivalo.cnfmgr.configuration.service.ConfigurationDAO


   * @param args
   */
  public static void main(String[] args) {
 
    try {
      ConfigurationDAO dao = ConfigurationPersistentHandler.getHandler().getDAO();
      HashMap map = new HashMap();
      map.put("key1","value1");
      dao.storeEntries(new Boolean(true), "/my/root", map);
     
      Map map2 = dao.loadEntries(new Boolean(true), "/my/root");
     
      System.out.println(map2);
    }
    catch (Exception ex) {
      ex.printStackTrace();
View Full Code Here


   * @param args
   */
  public static void main(String[] args) {
 
    try {
      ConfigurationDAO dao = ConfigurationPersistentHandler.getHandler().getDAO();
      HashMap map = new HashMap();
      map.put("key1","value1");
      dao.storeEntries(new Boolean(true), "/my/root", map);
     
      Map map2 = dao.loadEntries(new Boolean(true), "/my/root");
     
      System.out.println(map2);
    }
    catch (Exception ex) {
      ex.printStackTrace();
View Full Code Here

TOP

Related Classes of net.sourceforge.jivalo.cnfmgr.configuration.service.ConfigurationDAO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.