Examples of execute()


Examples of net.opengis.wps10.ProcessBriefType.execute()

        Map<String, Object> map = new TreeMap<String, Object>();
        map.put("buffer", 350);
        map.put("geom1", geom1);

        // execute/send-request for the process
        Map<String, Object> results = process.execute(map, null);

        // check that the result is expected
        assertNotNull(results);

        Geometry expected = geom1.buffer(350);
View Full Code Here

Examples of net.paoding.rose.jade.statement.Statement.execute()

            logger.debug("invoking " + invocationInfo.toString());
        }

        // executing
        long begin = System.currentTimeMillis();
        final Object result = statement.execute(parameters);
        long cost = System.currentTimeMillis() - begin;

        // logging
        if (logger.isInfoEnabled()) {
            if (invocationInfo == null) {
View Full Code Here

Examples of net.paoding.rose.jade.statement.expression.ExqlPattern.execute()

        // 转换语句中的表达式
        ExqlPattern pattern = ExqlPatternImpl.compile(runtime.getSQL());
        ExqlContextImpl context = new ExqlContextImpl(runtime.getSQL().length() + 32);

        try {
            pattern.execute(context, runtime.getParameters(), runtime.getMetaData()
                    .getDAOMetaData().getConstants());
            runtime.setArgs(context.getParams());
            runtime.setSQL(context.flushOut());
        } catch (Exception e) {
            String daoInfo = runtime.getMetaData().toString();
View Full Code Here

Examples of net.raymanoz.command.Command.execute()

  private void executeCommand(CmdLineArgumentsAndSwitches cmdln) {
    Command command;
    try {
      command = commands.get(cmdln.arg(0));
      command.execute(cmdln.arguments());
    } catch (ProblemInScriptListNumbers pe){
      System.out.println("************************************");
      System.out.println("");
      System.out.println(pe.getMessage());
      System.out.println("");
View Full Code Here

Examples of net.raymanoz.migrate.Script.execute()

  }
 
 
  private Script mockScript(long dbVersion, long patch, ScriptStatus returnedScriptStatus){
    Script result = mock(Script.class);
    when(result.execute(any(UserInteractionStrategy.class))).thenReturn(returnedScriptStatus);
    when(result.getDBVersion()).thenReturn(dbVersion);
    when(result.getPatch()).thenReturn(patch);
    return result;
  }
 
View Full Code Here

Examples of net.riccardocossu.autodoc.main.Engine.execute()

    conf.addProperty(Engine.CONFIG_PACKAGES, packages);
    conf.addProperty(Engine.CONFIG_INPUT_PLUGINS, inputPlugins);
    conf.addProperty(Engine.CONFIG_OUTPUT_PLUGINS, outputPlugins);
    conf.addProperty(Engine.CONFIG_BASE_OUTPUT_DIR, f.getAbsolutePath());
    Engine eng = new Engine(conf);
    List<PackageContainer> parsedPackages = eng.execute();
    getLog().info(
        String.format("Parsed %d packages", parsedPackages.size()));
  }
}
View Full Code Here

Examples of net.rim.device.api.command.Command.execute()

        // The Command reference may be null if the
        // CommandFrameworkDemoRemoteApp
        // project has not been loaded.
        if (command != null) {
            command.execute(this);
        }

        // Push a MainScreen onto the display stack
        pushScreen(new CommandFrameworkDemoScreen());
    }
View Full Code Here

Examples of net.rim.device.api.database.Statement.execute()

            // INSERT a row into the Category table for the new category
            Statement statement =
                    _db.createStatement("INSERT INTO Category VALUES(null, ?)");
            statement.prepare();
            statement.bind(1, name);
            statement.execute();
            statement.close();

            // Query the database for the auto-generated ID of the category just
            // added
            // and create a new Category object.
View Full Code Here

Examples of net.sf.antcontrib.antserver.Command.execute()

                try
                {
                    cbl = new ConnectionBuildListener();
                    task.getProject().addBuildListener(cbl);

                    inputCommand.execute(task.getProject(),
                            inputCommand.getContentLength(),
                            is);

                    response.setSucceeded(true);
                }
View Full Code Here

Examples of net.sf.antcontrib.cpptasks.CCTask.execute()

      // we always want an EXE for debugging
      task.setOuttype(new OutputTypeEnum());

      // execute
      try {
        task.execute();
        getLog().info("Wrote project file: " + filename + ".vcproj");
      } catch (BuildException e) {
        throw new MojoExecutionException("NAR: Compile failed", e);
      }
    }
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.