Package org.ogce.schemas.gfac.documents

Examples of org.ogce.schemas.gfac.documents.ConfigurationDocument


            if (xmlConfigurationFile.exists()) {
                input = new FileInputStream(xmlConfigurationFile);
            } else {
                input = Thread.currentThread().getContextClassLoader().getResourceAsStream(gfacProfile);
            }
            ConfigurationDocument configurationDoc = ConfigurationDocument.Factory.parse(input);
            return configurationDoc.getConfiguration();
        } catch (FileNotFoundException e) {
            throw new GfacException(e,FaultCode.InitalizationError);
        } catch (XmlException e) {
            throw new GfacException(e,FaultCode.InitalizationError);
        } catch (IOException e) {
View Full Code Here

TOP

Related Classes of org.ogce.schemas.gfac.documents.ConfigurationDocument

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.