Package tigase.xml.db

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


      }
      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

Related Classes of tigase.xml.db.XMLDB

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.