Examples of call()


Examples of pt.webdetails.cpf.InterPluginCall.call()

      Map<String, Object> params = new HashMap<String, Object>();

      params.put( "path", cda );
      params.put( "outputType", "xml" );
      InterPluginCall ipc = new InterPluginCall( InterPluginCall.CDA, "listQueries", params );
      String reply = ipc.call();
      Document queryList = reader.read( new StringReader( reply ) );
      @SuppressWarnings( "unchecked" )
      List<Node> queries = queryList.selectNodes( "//ResultSet/Row/Col[1]" );
      for ( Node query : queries ) {
        queryOutput.add( query.getText() );
View Full Code Here

Examples of pt.webdetails.cpf.PentahoLegacyInterPluginCall.call()

    }
    params.put( "absolute", absolute );
    PentahoLegacyInterPluginCall pluginCall = new PentahoLegacyInterPluginCall( );
    pluginCall.init( CorePlugin.CDF, "GetHeaders", params );

    return pluginCall.call();
  }

  public static String getDataSourceDefinitions( String pluginId, String service, String method, boolean forceRefresh )
    throws Exception {
    PentahoCdeEnvironment.env().getPluginCall( pluginId, service, method );
View Full Code Here

Examples of pt.webdetails.cpf.plugincall.api.IPluginCall.call()

    params.put( "absolute", absolute );

    //TODO: instantiate directly
    IPluginCall pluginCall = PluginEnvironment.env().getPluginCall( CorePlugin.CDF.getId(), "xcdf", "getHeaders" );
   
    return pluginCall.call( params.getParameters() );

  }

  public static String getDataSourceDefinitions(String plugin, String service, String method, boolean forceRefresh) throws Exception {
    IPluginCall pluginCall = PluginEnvironment.env().getPluginCall( plugin, null, method );
View Full Code Here

Examples of railo.runtime.Component.call()

    CFCInfo info = data.cfcs.get(HibernateUtil.id(entityName));
    if(info!=null) {
      Component cfc = info.getCFC();
      if(unique){
        cfc=(Component)Duplicator.duplicate(cfc,false);
        if(cfc.contains(pc,CommonUtil.INIT))cfc.call(pc, "init",new Object[]{});
      }
      return cfc;
    }
    return null;
  }
View Full Code Here

Examples of railo.runtime.Page.call()

      // execute page
      Variables old = pc.variablesScope();
      pc.setVariablesScope(VAR);
      boolean wasSilent = pc.setSilent();
      try {
      p.call(pc);
      Object o= pc.variablesScope().get(name,null);
      if(o instanceof UDF) {
        udf= (UDF) o;
        config.putToFunctionCache(key, udf);
        return udf;
View Full Code Here

Examples of railo.runtime.type.UDF.call()

      if(ac instanceof ClassicApplicationContext) {
        ClassicApplicationContext cfc=(ClassicApplicationContext) ac;
        UDF udf = cfc.getOnMissingTemplate();
        if(udf!=null) {
          String targetPage=requestedPage.getFullRealpath();
          rethrow=(!Caster.toBooleanValue(udf.call(pc, new Object[]{targetPage}, true),true));
        }
      }
      if(rethrow)throw mie;
    }
   
View Full Code Here

Examples of ru.autosome.ape.api.PrecalculateThresholdLists.call()

                                                                                                            background,
                                                                                                            pvalue_boundary,
                                                                                                            max_hash_size);
    PrecalculateThresholdLists listCalculator = new PrecalculateThresholdLists(listCalculationParams);

    Map<PWM, CanFindPvalue> pwmCollectionWithPvalueCalculators = listCalculator.call();
    // Result of this step (pwmCollectionWithPvalueCalculators) should be cached. You need to do it once for a collection of PWMs
    // It carries PWMs of collection with their lists of precalculated values so latter calculation can perform binary search by threshold

    // In order to stop calculation one should do
    //    listCalculator.setStatus(Task.Status.INTERRUPTED);
View Full Code Here

Examples of rx.functions.Action0.call()

                                @Override
                                public void call() {
                                    // TODO is this actually the end of the thread?
                                    executionHook.onThreadComplete(_self);
                                    endCurrentThread.call();
                                }
                            }).unsafeSubscribe(s);
                        } catch (Throwable t) {
                            // the run() method is a user provided implementation so can throw instead of using Observable.onError
                            // so we catch it here and turn it into Observable.error
View Full Code Here

Examples of uk.ac.uea.threadr.internal.vmhandler.VMWrapper.call()

   
    Arrays.sort(reference);
   
    VMWrapper newVM = new VMWrapper(task);
    try {
      AbstractReturnType<?> returned = newVM.call(); // run the task.
      assertArrayEquals("Result different from reference", reference,
          (int[])returned.getResult());
    } catch (Exception e) {
      fail("Error executing new Virtual Machine");
    }
View Full Code Here

Examples of uk.co.thomasc.scrapbanktf.command.Command.call()

            final String text = Util.removeArg0(callback.getMessage());
            final String[] pArgs = text.split(" ");

            Command cmd = Commands.getCommand(args[0]);
            if (cmd != Commands.unknown) {
              response = cmd.call(Bot.this, callback.getChatterID(), pArgs, text);
            }
          }
          steamFriends.sendChatRoomMessage(callback.getChatRoomID(), EChatEntryType.ChatMsg, response);
        }
      }
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.