Examples of invoke()


Examples of edu.indiana.extreme.xbaya.gpel.gui.GPELInvoker.invoke()

        for (WSComponentPort input : inputs) {
            String defaultValue = input.getDefaultValue();
            input.setValue(defaultValue);
        }

        invoker.invoke(diffWorkflow, inputs, true);

        // Change the ID of current display so that we can keep monitoring.
        URI instanceID = diffWorkflow.getGPELInstanceID();
        workflow.setGPELInstanceID(instanceID);
    }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.jython.lib.GenericInvoker.invoke()

                .valueOf(TEST_SERVICE_QNAME), TEST_AWSDL, "test-node", null,
                this.configuration.getGFacURL().toString(), notifier);
        invoker.setup();
        invoker.setOperation("Run");
        invoker.setInput("inparam1", "test");
        invoker.invoke();
        Object output = invoker.getOutput("outparam1");
        logger.info("output: " + output);
    }

    /**
 
View Full Code Here

Examples of edu.indiana.extreme.xbaya.jython.lib.invoker.Invoker.invoke()

      invoker.setup();
     
      invoker.setOperation("deployServiceFromClass");
      invoker.setInput("classAsString", code);
      invoker.invoke();
      Object contextPath = invoker.getOutput("return");
    } catch (Exception e) {
      throw new XBayaException(e);
    }
   
View Full Code Here

Examples of edu.indiana.extreme.xbaya.lead.LEADWorkflowInvoker.invoke()

        }
        invoker.setInputs(inputs);

        // Invoke the workflow. This will block, so you may want to do it in a
        // thread.
        boolean success = invoker.invoke();
        logger.info("success: " + success);

        // We don't need to wait for the outputs.

        if (success) {
View Full Code Here

Examples of edu.indiana.extreme.xbaya.ode.ODEClient.invoke()

    } catch (Exception e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
   
    xbayaODEClient.invoke(xBayaWorkflow, context.getGssCredential(), dscUri, odeUrl.toString(), leadContextHeader);
  }
 
  public void setDefualtInputs(List<WSComponentPort> xBayaWorkflowInputs) {
   
    int index = 0;
View Full Code Here

Examples of edu.indiana.extreme.xbaya.workflow.WorkflowInvoker.invoke()

                .valueOf(TEST_SERVICE_QNAME), TEST_AWSDL, "test-node", null,
                this.configuration.getGFacURL().toString(), notifier);
        invoker.setup();
        invoker.setOperation("Run");
        invoker.setInput("inparam1", "test");
        invoker.invoke();
        Object output = invoker.getOutput("outparam1");
        logger.info("output: " + output);
    }

    /**
 
View Full Code Here

Examples of edu.indiana.extreme.xbaya.workflow.proxy.WorkflowClient.invoke()

      throw new RuntimeException(e);
    } catch (URISyntaxException e) {
      throw new RuntimeException(e);
    }

    return wfClient.invoke(inputs);

  }

 
View Full Code Here

Examples of edu.umd.cs.findbugs.FindBugsMain.invoke()

        DetectorFactoryCollection.instance();
        for (Plugin plugin : Plugin.getAllPlugins()) {
            FindBugsMain main = plugin.getFindBugsMain(cmd);
            if (main != null) {
                try {
                    main.invoke(a);
                } catch (java.lang.reflect.InvocationTargetException e) {
                    throw e.getCause();
                }
                return;
            }
View Full Code Here

Examples of erjang.EFun.invoke()

    EFun f = fun.testFunction2(0);
    if (f == null) {
      throw ERT.badarg(fun);
    }
   
    return f.invoke(proc, new EObject[0]);
  }

}
View Full Code Here

Examples of eu.stratosphere.nephele.util.FileLineReader.invoke()

    Whitebox.setInternalState(reader, "output", this.recordWriter);
    StringRecord record = mock(StringRecord.class);

    whenNew(StringRecord.class).withNoArguments().thenReturn(record);

    reader.invoke();

    // verify the correct bytes have been written and read
    verify(record, times(3)).set(in.getBytes());
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.