// Path: Web/src/main/java/org/emerjoin/hi/web/exceptions/HiException.java
// public class HiException extends ServletException {
// 
//     public HiException(String m){
// 
//         super(m);
// 
//     }
// 
//     public HiException(String m, Throwable throwable){
// 
//         super(m,throwable);
// 
//     }
// 
// }


import com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory;
import org.emerjoin.hi.web.config.*;
import org.emerjoin.hi.web.exceptions.HiException;
import org.jboss.jandex.AnnotationInstance;
import org.jboss.jandex.DotName;
import org.jboss.jandex.Index;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
import javax.enterprise.context.ApplicationScoped;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.Source;
import javax.xml.transform.stream.StreamSource;
import javax.xml.validation.Schema;
import javax.xml.validation.Validator;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.Constructor;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
package org.emerjoin.hi.web.config.xml;



/**
 * Created by Mario Junior.
 */
@ApplicationScoped
public class XMLConfigProvider implements ConfigProvider {

    private String docsPath = null;
    private Logger _log = LoggerFactory.getLogger(XMLConfigProvider.class);

// Path: Web/src/main/java/org/emerjoin/hi/web/exceptions/HiException.java
// public class HiException extends ServletException {
// 
//     public HiException(String m){
// 
//         super(m);
// 
//     }
// 
//     public HiException(String m, Throwable throwable){
// 
//         super(m,throwable);
// 
//     }
// 
// }


// Path: Web/src/main/java/org/emerjoin/hi/web/config/xml/XMLConfigProvider.java
import com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory;
import org.emerjoin.hi.web.config.*;
import org.emerjoin.hi.web.exceptions.HiException;
import org.jboss.jandex.AnnotationInstance;
import org.jboss.jandex.DotName;
import org.jboss.jandex.Index;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
import javax.enterprise.context.ApplicationScoped;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.Source;
import javax.xml.transform.stream.StreamSource;
import javax.xml.validation.Schema;
import javax.xml.validation.Validator;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.Constructor;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

package org.emerjoin.hi.web.config.xml;



/**
 * Created by Mario Junior.
 */
@ApplicationScoped
public class XMLConfigProvider implements ConfigProvider {

    private String docsPath = null;
    private Logger _log = LoggerFactory.getLogger(XMLConfigProvider.class);

    private Configurator getConfigurator(Class<? extends Configurator> clazz) throws HiException {