Package org.ogce.schemas.gfac.documents

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


          return gatekeeper;
        }
      }
    }

    HostDescriptionType hostDesc = appExecContext.getExecutionModel().getHostDesc();
    GlobusGatekeeperType[] gatekeepers = hostDesc.getHostConfiguration().getGlobusGatekeeperArray();
    for (GlobusGatekeeperType gateKeeper : gatekeepers) {
      if (gateKeeper.getWsGram() == wsgram && (isSpruceEnabled == gateKeeper.getJobmanagertype().equals(GlobusJobManagerType.SPRUCE))) {
        log.info((wsgram ? "WSGram" : "Gram ") + (!isSpruceEnabled ? "Non" : "") + " Spruce Gate keeper" + gateKeeper.xmlText() + " selected");
        return gateKeeper;
      }
View Full Code Here


 

    public static HostDescriptionType parseHostDescirption(String hostDescStr) throws GfacException {
        try {
            HostDescriptionType hostDesc = HostDescriptionDocument.Factory.parse(hostDescStr)
                    .getHostDescription();
            SchemaValidator validator = new SchemaValidator(hostDesc);
            validator.validate();
            return hostDesc;
        } catch (XmlException e) {
View Full Code Here

TOP

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

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.