Exemple #1
0
  void compileXMLRootNode(ProjectType project) throws VoltCompilerException {
    m_catalog = new Catalog();
    temporaryCatalogInit();

    SecurityType security = project.getSecurity();
    if (security != null) {
      m_catalog.getClusters().get("cluster").setSecurityenabled(security.isEnabled());
    }

    DatabaseType database = project.getDatabase();
    if (database != null) {
      compileDatabaseNode(database);
    }
  }