Package org.apache.xml.xmlbeans.x2004.x02.xmlbean.xsdownload

Examples of org.apache.xml.xmlbeans.x2004.x02.xmlbean.xsdownload.DownloadedSchemaEntry


      if(isParallelJob(appDepType)) {
        JSDLUtils.getOrCreateSPMDApplication(value).setExecutable(fNameType);
        JSDLUtils.getSPMDApplication(value).setSPMDVariation(getSPMDVariation(appDepType));
       
        if(getValueFromMap(appDepType, JSDLUtils.NUMBEROFPROCESSES)!=null){
          NumberOfProcessesType num = NumberOfProcessesType.Factory.newInstance();
          num.setStringValue(getValueFromMap(appDepType, JSDLUtils.NUMBEROFPROCESSES));
          JSDLUtils.getSPMDApplication(value).setNumberOfProcesses(num);
        }
             
        if(getValueFromMap(appDepType, JSDLUtils.PROCESSESPERHOST)!=null){
          ProcessesPerHostType pph = ProcessesPerHostType.Factory.newInstance();
View Full Code Here


                    currentContextHeader.getWorkflowSchedulingContext().getApplicationSchedulingContextArray().length > 0) {
                try {
                    int cpuCount = currentContextHeader.getWorkflowSchedulingContext().getApplicationSchedulingContextArray()[0].getCpuCount();
                    if(cpuCount>0){
//                      appDepType.setCpuCount(cpuCount);
                    NumberOfProcessesType num = NumberOfProcessesType.Factory.newInstance();
              String processers = Integer.toString(cpuCount);
            num.setStringValue(processers);
              JSDLUtils.getOrCreateSPMDApplication(value).setNumberOfProcesses(num);
                    }
                } catch (NullPointerException e) {
                    new GFacProviderException("No Value sent in WorkflowContextHeader for Node Count, value in the Deployment Descriptor will be used",e);
                }
View Full Code Here

          num.setStringValue(getValueFromMap(appDepType, JSDLUtils.NUMBEROFPROCESSES));
          JSDLUtils.getSPMDApplication(value).setNumberOfProcesses(num);
        }
       
        if(getValueFromMap(appDepType, JSDLUtils.PROCESSESPERHOST)!=null){
          ProcessesPerHostType pph = ProcessesPerHostType.Factory.newInstance();
          pph.setStringValue(getValueFromMap(appDepType, JSDLUtils.PROCESSESPERHOST));
          JSDLUtils.getSPMDApplication(value).setProcessesPerHost(pph);
        }
       
        if(getValueFromMap(appDepType, JSDLUtils.THREADSPERHOST)!=null){
          ThreadsPerProcessType tpp = ThreadsPerProcessType.Factory.newInstance();
View Full Code Here

          num.setStringValue(getValueFromMap(appDepType, JSDLUtils.NUMBEROFPROCESSES));
          JSDLUtils.getSPMDApplication(value).setNumberOfProcesses(num);
        }
             
        if(getValueFromMap(appDepType, JSDLUtils.PROCESSESPERHOST)!=null){
          ProcessesPerHostType pph = ProcessesPerHostType.Factory.newInstance();
          pph.setStringValue(getValueFromMap(appDepType, JSDLUtils.PROCESSESPERHOST));
          JSDLUtils.getSPMDApplication(value).setProcessesPerHost(pph);
        }
       
        if(getValueFromMap(appDepType, JSDLUtils.THREADSPERHOST)!=null){
          ThreadsPerProcessType tpp = ThreadsPerProcessType.Factory.newInstance();
View Full Code Here

          num.setStringValue(getValueFromMap(appDepType, JSDLUtils.NUMBEROFPROCESSES));
          JSDLUtils.getSPMDApplication(value).setNumberOfProcesses(num);
        }
             
        if(getValueFromMap(appDepType, JSDLUtils.PROCESSESPERHOST)!=null){
          ProcessesPerHostType pph = ProcessesPerHostType.Factory.newInstance();
          pph.setStringValue(getValueFromMap(appDepType, JSDLUtils.PROCESSESPERHOST));
          JSDLUtils.getSPMDApplication(value).setProcessesPerHost(pph);
        }
       
        if(getValueFromMap(appDepType, JSDLUtils.THREADSPERHOST)!=null){
          ThreadsPerProcessType tpp = ThreadsPerProcessType.Factory.newInstance();
View Full Code Here

          pph.setStringValue(getValueFromMap(appDepType, JSDLUtils.PROCESSESPERHOST));
          JSDLUtils.getSPMDApplication(value).setProcessesPerHost(pph);
        }
       
        if(getValueFromMap(appDepType, JSDLUtils.THREADSPERHOST)!=null){
          ThreadsPerProcessType tpp = ThreadsPerProcessType.Factory.newInstance();
          tpp.setStringValue(getValueFromMap(appDepType, JSDLUtils.THREADSPERHOST));
          JSDLUtils.getSPMDApplication(value).setThreadsPerProcess(tpp);
        }
      }
      else
        JSDLUtils.getOrCreatePOSIXApplication(value).setExecutable(fNameType);
View Full Code Here

          pph.setStringValue(getValueFromMap(appDepType, JSDLUtils.PROCESSESPERHOST));
          JSDLUtils.getSPMDApplication(value).setProcessesPerHost(pph);
        }
       
        if(getValueFromMap(appDepType, JSDLUtils.THREADSPERHOST)!=null){
          ThreadsPerProcessType tpp = ThreadsPerProcessType.Factory.newInstance();
          tpp.setStringValue(getValueFromMap(appDepType, JSDLUtils.THREADSPERHOST));
          JSDLUtils.getSPMDApplication(value).setThreadsPerProcess(tpp);
         
        }
       
        if(userName != null) {
View Full Code Here

          pph.setStringValue(getValueFromMap(appDepType, JSDLUtils.PROCESSESPERHOST));
          JSDLUtils.getSPMDApplication(value).setProcessesPerHost(pph);
        }
       
        if(getValueFromMap(appDepType, JSDLUtils.THREADSPERHOST)!=null){
          ThreadsPerProcessType tpp = ThreadsPerProcessType.Factory.newInstance();
          tpp.setStringValue(getValueFromMap(appDepType, JSDLUtils.THREADSPERHOST));
          JSDLUtils.getSPMDApplication(value).setThreadsPerProcess(tpp);
         
        }
       
        if(userName != null) {
View Full Code Here

TOP

Related Classes of org.apache.xml.xmlbeans.x2004.x02.xmlbean.xsdownload.DownloadedSchemaEntry

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.