Examples of execute()


Examples of org.jpox.store.rdbms.request.UpdateRequest.execute()

        }

        // Do the actual update of this table
        // TODO Assert if this table is not yet initialised ?
        UpdateRequest req = getUpdateRequest(table, fieldMetaData, sm.getObject().getClass(), clr);
        req.execute(sm);

        // Update any secondary tables
        Collection secondaryTables = table.getSecondaryDatastoreClasses();
        if (secondaryTables != null)
        {
View Full Code Here

Examples of org.jpublish.action.ActionManager.execute()

        ActionManager actionManager = siteContext.getActionManager();
        String[] actionNames = request.getParameterValues(siteContext.getActionIdentifier());
        if (actionNames != null) {
            for (int i = 0; i < actionNames.length; i++) {
                return optionalRedirect(actionManager.execute(actionNames[i], context), path, response, allowRedirect);
            }
        }
        return false;
    }
View Full Code Here

Examples of org.jrest4guice.dao.actions.ActionContext.execute()

      log.error(msg);
      throw new RejectedExecutionException(msg);
    } else {
      ActionContext context = action.getContext();
      context.setAction(action);
      return context.execute(method, args);
    }
  }

  @SuppressWarnings("unchecked")
  private Action getAction(Method method) {
View Full Code Here

Examples of org.jsonschema2pojo.maven.Jsonschema2PojoMojo.execute()

                    put("targetPackage", targetPackage);
                    putAll(configValues);
                }
            });

            pluginMojo.execute();
        } catch (URISyntaxException e) {
            throw new RuntimeException(e);
        } catch (MojoExecutionException e) {
            throw new RuntimeException(e);
        } catch (DependencyResolutionRequiredException e) {
View Full Code Here

Examples of org.jsoup.Connection.execute()

        try {
            connection = Jsoup.connect(this.url);
            connection.userAgent("Wget/1.13.4 (linux-gnu)");
            connection.timeout(5000);
            connection.ignoreHttpErrors(true);
            connection.execute();

            response = connection.response();
            if (response.statusCode() != 200) {
                this.errorMessage.put(response.statusCode() + ": " + response.statusMessage());
                return;
View Full Code Here

Examples of org.jtrim.concurrent.GenericUpdateTaskExecutor.execute()

        };

        ListenerRef ref1 = input.addChangeListener(new Runnable() {
            @Override
            public void run() {
                updateReader.execute(updateValueTask);
            }
        });
        ListenerRef ref2 = this.validator.addValidator(new Validator<Void>() {
            @Override
            public Problem validateInput(Void inputType) {
View Full Code Here

Examples of org.jtrim.concurrent.UpdateTaskExecutor.execute()

        };

        ListenerRef ref1 = input.addChangeListener(new Runnable() {
            @Override
            public void run() {
                updateReader.execute(updateValueTask);
            }
        });
        ListenerRef ref2 = this.validator.addValidator(new Validator<Void>() {
            @Override
            public Problem validateInput(Void inputType) {
View Full Code Here

Examples of org.jugile.util.DBConnection.execute()

      List<List> res = c.select();
      nid = (Integer)res.get(0).get(0);
      c.prepare("update idpool set nextid=? where obj=?");
      c.param(nid+idIncrement);
      c.param(obj);
      c.execute();
      c.commit();
    } catch (Exception e) {
      try { c.rollback(); } catch (Exception e2) { } fail(e);
    } finally {
      try { c.free(); } catch (Exception e) { log.fatal("could not free connection",e); }     
View Full Code Here

Examples of org.jvnet.hudson.reactor.Reactor.execute()

                    TWICE_CPU_NUM, TWICE_CPU_NUM, 5L, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>(), new DaemonThreadFactory());
        } else {
            es = Executors.newSingleThreadExecutor(new DaemonThreadFactory());
        }
        try {
            reactor.execute(es, buildReactorListener());
        } finally {
            es.shutdownNow();   // upon a successful return the executor queue should be empty. Upon an exception, we want to cancel all pending tasks
        }
    }
View Full Code Here

Examples of org.kapott.hbci.manager.HBCIHandler.execute()

                    if (state==STATE_NEED_JOBPARAMS) {
                        job.addToQueue(customerId);
                    }
                   
                    // alle batch-jobs ausf�hren
                    handler.execute();
                   
                    // ergebnis-writer f�r ok-jobs und f�r fehlerhafte jobs
                    // erzeugen
                    PrintWriter writer=new PrintWriter(new FileWriter(args[3]));
                    PrintWriter errWriter=new PrintWriter(new FileWriter(args[3]+".err"));
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.