Examples of execute()


Examples of cn.com.wapps.wrapper.MVCDataWrapper.execute()

    public String view(Map request, Map session) {
        try {
            PermissionManager.getUserPermission().check(Story.class, "view");

            DataWrapper wrapper = new MVCDataWrapper(request, false, "yyyy-MM-dd");
            Story story = wrapper.execute(Story.class);
            request.put("story", story);
        } catch (AppException ex) {
            Logger.getLogger(EditStory.class.getName()).log(Level.SEVERE, null, ex);
            request.put("error", ex.getMessage());
            return null;
View Full Code Here

Examples of cn.com.wrapper.DataWrapper.execute()

    public String view(Map request, Map session) {
        try {
            PermissionManager.getUserPermission().check(Story.class, "view");

            DataWrapper wrapper = new MVCDataWrapper(request, false, "yyyy-MM-dd");
            Story story = wrapper.execute(Story.class);
            request.put("story", story);
        } catch (AppException ex) {
            Logger.getLogger(EditStory.class.getName()).log(Level.SEVERE, null, ex);
            request.put("error", ex.getMessage());
            return null;
View Full Code Here

Examples of cn.dreampie.common.plugin.lesscss.compiler.LessCssCompiler.execute()

    lessCssCompiler.setSourceDirectory(new File(PathKit.getWebRootPath() + "/css/"));
    lessCssCompiler.setOutputDirectory(new File(PathKit.getRootClassPath() + "/css/"));
    lessCssCompiler.setForce(true);
    lessCssCompiler.setCompress(true);
    lessCssCompiler.setWatch(true);
    lessCssCompiler.execute();
  }
}
View Full Code Here

Examples of cn.dreampie.lesscss.compiler.LessCssCompiler.execute()

    lessCssCompiler.setSourceDirectory(new File(PathKit.getWebRootPath() + "/css/"));
    lessCssCompiler.setOutputDirectory(new File(PathKit.getRootClassPath() + "/css/"));
    lessCssCompiler.setForce(true);
    lessCssCompiler.setCompress(true);
    lessCssCompiler.setWatch(true);
    lessCssCompiler.execute();
  }
}
View Full Code Here

Examples of cn.org.rapid_framework.generator.provider.java.model.JavaMethod.JavaMethodInvokeSequencesParser.execute()

  public void test_get_JavaMethodInvokeFlows() {
    JavaClass clazz = new JavaClass(GeneratorFacade.class);
    JavaMethod method = clazz.getMethod("deleteOutRootDir");
    JavaMethodInvokeSequencesParser executor = new JavaMethodInvokeSequencesParser(method,clazz.getMavenJavaSourceFileContent());
   
    executor.execute();
    List<FieldMethodInvocation> invokes = executor.getMethodInvokeSequences();
    System.out.println(invokes);
   
    verifyInvokeFlows(invokes,"generator.deleteOutRootDir");
  }
View Full Code Here

Examples of cn.wensiqun.asmsupport.Executeable.execute()

    insnHelper.mark(excetpionEnd);
    insnHelper.throwException();
   
    insnHelper.mark(returnLbl);
    if(returnInsn != null){
      returnInsn.execute();
    }
  }
 
  @Override
  public void generateInsn() {
View Full Code Here

Examples of co.cask.tephra.DefaultTransactionExecutor.execute()

      }
    }

    TransactionExecutor txExecutor = new DefaultTransactionExecutor(txClient, txAwares);

    RETURN_TYPE result = txExecutor.execute(new Callable<RETURN_TYPE>() {
      @Override
      public RETURN_TYPE call() throws Exception {
        return tx.call(context);
      }
    });
View Full Code Here

Examples of co.cask.tephra.TransactionExecutor.execute()

      }

      @Override
      public void flush() throws IOException {
        try {
          txExecutor.execute(new TransactionExecutor.Subroutine() {
            @Override
            public void apply() throws Exception {
              for (StreamEvent event : events) {
                producer.enqueue(new QueueEntry(STREAM_EVENT_CODEC.encodePayload(event)));
              }
View Full Code Here

Examples of co.nubetech.crux.server.HBaseFacade.execute()

    try {
      Connection conn = mapping.getConnection();
      HBaseFacade hbaseFacade = this.getHBaseFacade();

      logger.debug("About to get data for Report:" + report);
      cruxScanner = hbaseFacade.execute(conn, report, mapping);
      logger.debug("Data fetched from HBaseFacade");

      List<ReportDesign> reportDesignList = report.getDesigns();
     
      for (ReportDesign reportDesign : reportDesignList) {
View Full Code Here

Examples of com.adito.jdbc.JDBCPreparedStatement.execute()

        }
        JDBCPreparedStatement ps = db.getStatement("deleteWebForward.delete.favorites");
        try {
            ps.setInt(1, WebForwardPlugin.WEBFORWARD_RESOURCE_TYPE_ID);
            ps.setString(2, String.valueOf(webForwardId));
            ps.execute();
        } finally {
            ps.releasePreparedStatement();
        }
        ps = db.getStatement("deleteWebForward.delete.webForward");
        try {
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.