Package org.oasisOpen.docs.wsrf.x2004.x11.wsrfWSResourceLifetime12Draft04

Examples of org.oasisOpen.docs.wsrf.x2004.x11.wsrfWSResourceLifetime12Draft04.TerminationTimeDocument


        .addNewArgument().setStringValue(stringPrm);

  }
 
  public static void setApplicationStdErr(JobDefinitionType value, HpcApplicationDeploymentType appDepType, String stderr) {
    FileNameType fName = FileNameType.Factory.newInstance();
    fName.setStringValue(stderr);
    if (isParallelJob(appDepType))
      JSDLUtils.getOrCreateSPMDApplication(value).setError(fName);
    else
      JSDLUtils.getOrCreatePOSIXApplication(value).setError(fName);
  }
View Full Code Here


  public static final String THREADSPERHOST = "ThreadsPerHost";

 
 
  public static EnvironmentType addEnvVariable(JobDefinitionType def,String name, String value) {
    POSIXApplicationType posixApp = getOrCreatePOSIXApplication(def);
    EnvironmentType newEnv = posixApp.addNewEnvironment();
    newEnv.setName(name);
    newEnv.setStringValue(value);
    return newEnv;
  }
View Full Code Here

      CurrentTimeDocument currTimeDoc = CurrentTimeDocument.Factory.newInstance(  );
      currTimeDoc.setCurrentTime( getCurrentTime(  ) );
      prop.setCallback( new CurrentTimeCallback(  ) );
      prop.add( currTimeDoc );
      prop = m_propSet.get( ScheduledResourceTerminationPortType.PROP_QNAME_TERMINATION_TIME );
      TerminationTimeDocument termTimeDoc = TerminationTimeDocument.Factory.newInstance(  );
      termTimeDoc.setTerminationTime( getTerminationTime(  ) );
      prop.add( termTimeDoc );

      // wsntw:SubscriptionManager props
      prop = m_propSet.get( SubscriptionManagerPortType.PROP_QNAME_CONSUMER_REFERENCE );
      ConsumerReferenceDocument consumerRefDoc = ConsumerReferenceDocument.Factory.newInstance(  );
View Full Code Here

        CurrentTimeDocument currTimeDoc = CurrentTimeDocument.Factory.newInstance();
        currTimeDoc.setCurrentTime(getCurrentTime());
        prop.setCallback( new CurrentTimeCallback() );
        prop.add(currTimeDoc);
        prop = m_propSet.get(ScheduledResourceTerminationPortType.PROP_QNAME_TERMINATION_TIME);
        TerminationTimeDocument termTimeDoc = TerminationTimeDocument.Factory.newInstance();
        termTimeDoc.setTerminationTime(getTerminationTime());
        prop.add(termTimeDoc);
        // wsntw:SubscriptionManager props
        prop = m_propSet.get(SubscriptionManagerPortType.PROP_QNAME_CONSUMER_REFERENCE);
        ConsumerReferenceDocument consumerRefDoc = ConsumerReferenceDocument.Factory.newInstance();
        consumerRefDoc.setConsumerReference((EndpointReferenceType) ((XmlObjectWrapper) m_consumerReference).getXmlObject());
View Full Code Here

        currTime.setCurrentTime( Calendar.getInstance() );
        prop.add( currTime );
        prop.setCallback( new CurrentTimeCallback() );

        prop = m_propSet.get( ResourceLifetime1_2Constants.PROP_QNAME_TERMINATION_TIME );
        TerminationTimeDocument termTime = TerminationTimeDocument.Factory.newInstance();
        termTime.setNilTerminationTime();
    }
View Full Code Here

      CurrentTimeDocument currTimeDoc = CurrentTimeDocument.Factory.newInstance(  );
      currTimeDoc.setCurrentTime( getCurrentTime(  ) );
      prop.setCallback( new CurrentTimeCallback(  ) );
      prop.add( currTimeDoc );
      prop = propSet.get( ScheduledResourceTerminationPortType.PROP_QNAME_TERMINATION_TIME );
      TerminationTimeDocument termTimeDoc = TerminationTimeDocument.Factory.newInstance(  );
      termTimeDoc.setTerminationTime( getTerminationTime(  ) );
      prop.add( termTimeDoc );

      // wsntw:SubscriptionManager props
      prop = propSet.get( SubscriptionManagerPortType.PROP_QNAME_CONSUMER_REFERENCE );
      prop.setCallback( new ConsumerReferenceResourcePropertyCallback( this ) );
View Full Code Here

      return createResponseDocument(  );
   }

   private DestroyResponseDocument createResponseDocument(  )
   {
      DestroyResponseDocument responseDoc = DestroyResponseDocument.Factory.newInstance(  );
      responseDoc.addNewDestroyResponse(  );
      return responseDoc;
   }
View Full Code Here

      return createResponseDocument(  );
   }

   private DestroyResponseDocument createResponseDocument(  )
   {
      DestroyResponseDocument responseDoc = DestroyResponseDocument.Factory.newInstance(  );
      responseDoc.addNewDestroyResponse(  );
      return responseDoc;
   }
View Full Code Here

      return NAMESPACE_SET;
   }

   private DestroyResponseDocument createResponseDocument(  )
   {
      DestroyResponseDocument responseDoc = DestroyResponseDocument.Factory.newInstance(  );
      responseDoc.addNewDestroyResponse(  );
      return responseDoc;
   }
View Full Code Here

      return NAMESPACE_SET;
   }

   private DestroyResponseDocument createResponseDocument(  )
   {
      DestroyResponseDocument responseDoc = DestroyResponseDocument.Factory.newInstance(  );
      responseDoc.addNewDestroyResponse(  );
      return responseDoc;
   }
View Full Code Here

TOP

Related Classes of org.oasisOpen.docs.wsrf.x2004.x11.wsrfWSResourceLifetime12Draft04.TerminationTimeDocument

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.