Examples of execute()


Examples of org.appfuse.tool.ArtifactUninstaller.execute()

        if (pojoName == null) {
            throw new MojoExecutionException("You must specify an entity name to continue.");
        }

        ArtifactUninstaller uninstaller = new ArtifactUninstaller(project, pojoName, installedDirectory, genericCore);
        uninstaller.execute();

        String hibernateCfgLocation = installedDirectory + "/src/main/resources/hibernate.cfg.xml";
        // remove entity from hibernate.cfg.xml
        // this is to allow using hibernate.cfg.xml from core module
        if (project.getPackaging().equals("war") && project.hasParent()) {
View Full Code Here

Examples of org.appfuse.tool.RenamePackages.execute()

            RenamePackages renamePackagesTool = new RenamePackages(project.getGroupId());
            if (project.hasParent()) {
                renamePackagesTool.setBaseDir(project.getBasedir() + "/src");
            }

            renamePackagesTool.execute();
        }

        // when performing full-source on a modular project, add the properties to the root pom.xml at the end
        if (project.getPackaging().equals("war") && project.hasParent()) {
            // store sorted properties in a thread local for later retrieval
View Full Code Here

Examples of org.araneaframework.backend.list.helper.HSqlListSqlHelper.execute()

    ListItemsData data;
    try {
      log.debug("Executing Queries");
      helper.setDataSource(this.dataSource);
      helper.execute();
      data = helper.getListItemsData(PersonMO.class);
    } catch (Exception e) {
      throw new RuntimeException(e);
    } finally {
      helper.close();
View Full Code Here

Examples of org.arquillian.spacelift.process.impl.CommandTool.execute()

        if (password != null) {
            jbossCliTool.parameter("--password=" + password);
        }

        jbossCliTool.execute().await();

        return null;
    }

    private String getCommands() {
View Full Code Here

Examples of org.aspectj.apache.bcel.verifier.structurals.InstructionContext.execute()

                // Normal successors. Add them to the queue of successors.
                InstructionContext[] succs = u.getSuccessors();
                for (int s = 0; s < succs.length; s++) {
                    InstructionContext v = succs[s];
                    if (v.execute(u.getOutFrame(oldchain), newchain, icv, ev)) {
                        icq.add(v, new ArrayList<InstructionContext>(newchain));
                    }
                }
            }// end "not a ret"
View Full Code Here

Examples of org.asynchttpclient.BoundRequestBuilder.execute()

        return getAsyncHttpClient(new AsyncHttpClientConfig.Builder().setPooledConnectionIdleTimeout(2000).setConnectTimeout(20000).setRequestTimeout(2000).build());
    }

    protected Future<Response> execute(AsyncHttpClient client, Server server, boolean preemptive) throws IOException {
        BoundRequestBuilder r = client.prepareGet(getTargetUrl()).setRealm(realm(preemptive)).setHeader("X-Content", "Test");
        Future<Response> f = r.execute();
        return f;
    }

    private Realm realm(boolean preemptive) {
        return (new Realm.RealmBuilder()).setPrincipal(USER).setPassword(ADMIN).setUsePreemptiveAuth(preemptive).build();
View Full Code Here

Examples of org.atomojo.app.db.sparql.QueryContext.execute()

               throws IOException
            {
               final ItemDestination dest = new WriterItemDestination(new OutputStreamWriter(os,"UTF-8"),"UTF-8");
               final ItemConstructor constructor = InfosetFactory.getDefaultInfoset().createItemConstructor();
               try {
                  context.execute(new QueryContext.ResultListener() {
                     DocumentLoader loader = new SAXDocumentLoader();
                     public void onStart() throws QueryException {
                        try {
                           dest.send(constructor.createDocument());
                           dest.send(constructor.createElement(AtomResource.FEED_NAME));
View Full Code Here

Examples of org.beangle.ems.rule.engine.Engine.execute()

    // ruleBase.getRules().add(rule1);
    ruleBase.getRules().add(rule2);
    engine.setRuleExecutorBuilder((RuleExecutorBuilder) applicationContext.getBean("ruleExecutorBuilder"));
    engine.setRuleBase(ruleBase);
    engine.setPatternMatcher(new FullPatternMatcher());
    engine.execute(context);
  }
}
View Full Code Here

Examples of org.beangle.ems.rule.engine.RuleExecutor.execute()

  public void execute(Context context) {
    Agenda agenda = matcher.buildAgenda(base, context);
    List<Rule> rules = agenda.getRules();
    RuleExecutor executor = executorBuilder.build(rules, stopWhenFail);
    executor.execute(context);
  }

  public PatternMatcher getPatternMatcher() {
    return matcher;
  }
View Full Code Here

Examples of org.beangle.ems.rule.engine.impl.SimpleEngine.execute()

    // ruleBase.getRules().add(rule1);
    ruleBase.getRules().add(rule2);
    engine.setRuleExecutorBuilder((RuleExecutorBuilder) applicationContext.getBean("ruleExecutorBuilder"));
    engine.setRuleBase(ruleBase);
    engine.setPatternMatcher(new FullPatternMatcher());
    engine.execute(context);
  }
}
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.