Examples of XMLDB


Examples of org.exist.restlet.XMLDB

      this.makeCollections = false;
      this.dbName = dbName;
      this.queries = new HashMap<String,Reference>();
      File confFile = new File(xmldbDir,"conf.xml");
      File dbDir = xmldbDir.getParentFile();
      xmldb = new XMLDB(dbName,confFile);
      String log4j = System.getProperty("log4j.configuration");
      if (log4j == null) {
         File lf = new File(dbDir,"log4j.xml");
         if (!lf.exists()) {
            String [] resources = { "log4j.dtd", "log4j.xml" };
View Full Code Here

Examples of tigase.xml.db.XMLDB

    def_config = this;
  }

  private void init() throws XMLDBException {
    try {
      xmldb = new XMLDB(config_file);
    } catch (IOException e) {
      log.warning("Can not open existing configuration file, creating new one, "
        + e);
      xmldb = XMLDB.createDB(config_file, ROOT_NODE, COMPONENT_NODE);
    } // end of try-catch
View Full Code Here

Examples of tigase.xml.db.XMLDB

      }
      if (file.contains("autoCreateUser=true")) {
        autoCreateUser=true;
      } // end of if (db_conn.contains())
      auth = new UserAuthRepositoryImpl(this);
      xmldb = new XMLDB(file_name);
    } catch (Exception e) {
      log.warning("Can not open existing user repository file, creating new one, "
        + e);
      xmldb = XMLDB.createDB(file_name, "users", "user");
    } // end of try-catch
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.