Examples of Invoke()


Examples of com.foundationdb.server.service.routines.ScriptInvoker.invoke()

    @Override   
    public void invokeShielded() {
        ScriptInvoker invoker = pool.get();
        boolean success = false;
        try {
            functionResult = invoker.invoke(functionArgs);
            success = true;
        }
        finally {
            pool.put(invoker, !success);
        }
View Full Code Here

Examples of com.foundationdb.sql.server.ServerJavaRoutine.invoke()

        ServerJavaRoutine call = javaRoutine(context, bindings);
        call.push();
        boolean success = false;
        try {
            call.setInputs();
            call.invoke();
            resultSets = call.getDynamicResultSets();
            call.getOutputs();
            success = true;
        }
        finally {
View Full Code Here

Examples of com.google.common.reflect.Invokable.invoke()

   public Object apply(Invocation in) {
      @SuppressWarnings("rawtypes")
      Invokable target = sync2async.apply(in).getInvokable();
      Object returnVal;
      try {
         returnVal = target.invoke(receiver, in.getArgs().toArray());
      } catch (InvocationTargetException e) {
         throw propagate(e.getCause());
      } catch (IllegalAccessException e) {
         throw new Error("Method became inaccessible: " + toString(), e);
      }
View Full Code Here

Examples of com.google.gwt.dev.shell.JsValue.DispatchMethod.invoke()

    }
    jsMethod = (JsValueOOPHM) dispObj.getField(methodDispatchId);
    DispatchMethod dispMethod = jsMethod.getWrappedJavaFunction();
    boolean exception;
    try {
      exception = dispMethod.invoke(jsThis, jsArgs, jsRetVal);
    } catch (Throwable t) {
      exception = true;
      JsValueGlue.set(jsRetVal, moduleSpace.getIsolatedClassLoader(),
          t.getClass(), t);
    }
View Full Code Here

Examples of com.guokr.simbase.SimCommand.invoke()

                    try {
                        SimCommand command = registry.get(request.name());
                        String sig = command.signature();
                        switch (sig.length()) {
                        case 0:
                            command.invoke(engine, callback);
                            break;
                        case 1:
                            command.invoke(engine, request.args(1), callback);
                            break;
                        case 2:
View Full Code Here

Examples of com.gwtent.reflection.client.Method.invoke()

    }else{
      Method method = parent.findMethod(path, new String[0]);
      if (method == null)
        pathNotFound(path, fullPath);
     
      object = method.invoke(instance, null);
    }
   
    if (object == null)
      throw new ENullInPath(fullPath, path);
   
View Full Code Here

Examples of com.hazelcast.spi.InvocationBuilder.invoke()

                    }
                } else {
                    if (returnsResponse) {
                        InvocationBuilder ib = os.createInvocationBuilder(SERVICE_NAME, operation, member.getAddress());

                        V response = (V) ib.invoke().getSafely();
                        if (response != null) {
                            results.add(response);
                        }
                    } else {
                        os.send(operation, member.getAddress());
View Full Code Here

Examples of com.headius.invokebinder.SmartBinder.invoke()

            binder = binder
                    .insert(1, "scope", StaticScope.class, compiledIRMethod.getStaticScope())
                    .append("class", RubyModule.class, compiledIRMethod.getImplementationClass());

            mh = binder.invoke(mh).handle();
        }

        return mh;
    }
View Full Code Here

Examples of com.intellij.codeInsight.CodeInsightActionHandler.invoke()

  }

  private void doTest() throws Throwable {
    myFixture.configureByFile(getTestName(false) + ".hx");
    final CodeInsightActionHandler handler = CodeInsightActions.GOTO_SUPER.forLanguage(HaxeLanguage.INSTANCE);
    handler.invoke(getProject(), myFixture.getEditor(), myFixture.getFile());
    myFixture.checkResultByFile(getTestName(false) + ".txt");
  }

  public void testGts1() throws Throwable {
    doTest();
View Full Code Here

Examples of com.intellij.codeInsight.intention.AddAnnotationFix.invoke()

        PsiModifierListOwner owner = AddAnnotationPsiFix.getContainer(file, position);
        if (owner == null || !owner.isValid()) {
            return;
        }
        AddAnnotationFix fix = new AddAnnotationFix(TOADD, owner, TOREMOVE);
        fix.invoke(project, editor, file);
    }
}
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.