Package org.apache.oodt.cas.resource.system

Examples of org.apache.oodt.cas.resource.system.XmlRpcResourceManagerClient


      System.exit(1);
    }

    try {
      URL managerUrl = new URL(Args[0]);
      XmlRpcResourceManagerClient client = new XmlRpcResourceManagerClient(
          managerUrl);

      Job hw1 = new Job("JobOne", "HelloWorldJob",
          "org.apache.oodt.cas.resource.examples.HelloWorldJob",
          "org.apache.oodt.cas.resource.structs.NameValueJobInput", "quick",
          new Integer(1));
      NameValueJobInput hw1Input = new NameValueJobInput();
      hw1Input.setNameValuePair("user.name", "Dave");

      client.submitJob(hw1, hw1Input);

    } catch (Exception e) {
      e.printStackTrace();
    }
View Full Code Here


        }

    };

    public JobSubmitter(URL rUrl) {
        client = new XmlRpcResourceManagerClient(rUrl);
    }
View Full Code Here

    /* our res mgr client */
    private XmlRpcResourceManagerClient client = null;

    public RunDirJobSubmitter(URL rUrl) {
        client = new XmlRpcResourceManagerClient(rUrl);
    }
View Full Code Here

        workerMap = new HashMap();
        workflowQueue = new Vector();

        if (resUrl != null)
            rClient = new XmlRpcResourceManagerClient(resUrl);
       
       
        //start shepard thread
        NonBlockingShepardThread thread = new NonBlockingShepardThread(this);
        try {
View Full Code Here

        pool.setKeepAliveTime(1000 * 60 * threadKeepAliveTime);

        workerMap = new HashMap();

        if (resUrl != null)
            rClient = new XmlRpcResourceManagerClient(resUrl);
    }
View Full Code Here

      Validate.notNull(getUrl());

      if (client != null) {
         return client;
      } else {
         return new XmlRpcResourceManagerClient(new URL(getUrl()));
      }
   }
View Full Code Here

  private String currentJobId;

  public ResourceRunner(URL resUrl, WorkflowInstanceRepository instRep) {
    super();
    this.rClient = new XmlRpcResourceManagerClient(resUrl);
  }
View Full Code Here

    pool.setKeepAliveTime(1000 * 60 * threadKeepAliveTime);

    workerMap = new HashMap();

    if (resUrl != null)
      rClient = new XmlRpcResourceManagerClient(resUrl);
  }
View Full Code Here

  public ResourceManagerUtils(String urlStr) {
    this(safeGetUrlFromString(urlStr));
  }

  public ResourceManagerUtils(URL url) {
    this.client = new XmlRpcResourceManagerClient(url);
    this.rmUrl = url;

  }
View Full Code Here

  protected XmlRpcResourceManagerClient rClient;

  private String currentJobId;

  public ResourceRunner(URL resUrl) {
    this.rClient = new XmlRpcResourceManagerClient(resUrl);
  }
View Full Code Here

TOP

Related Classes of org.apache.oodt.cas.resource.system.XmlRpcResourceManagerClient

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.