Package com.hetty.conf

Examples of com.hetty.conf.XmlConfigParser


  public boolean start() {
    String configFile = HettyConfig.getInstance().getpropertiesFile();
    String[] fileArr = configFile.split(",");
   
    for(String file:fileArr){
      XmlConfigParser configParser = new XmlConfigParser(file);
     
      List<Application> appList = configParser.parseApplication();
      for(Application app:appList){
        HettySecurity.addToApplicationMap(app);
      }
     
      List<Service> serviceList = configParser.parseService();
      for(Service service:serviceList){
        ServiceHandler.addToServiceMap(service);
      }
     
      List<ServiceVersion>  versionList = configParser.parseSecurity();
      if(versionList != null){
        for(ServiceVersion version:versionList){
          ServiceHandler.addToVersionMap(version);
        }
      }
View Full Code Here

TOP

Related Classes of com.hetty.conf.XmlConfigParser

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.