Examples of Main


Examples of ch.rakudave.jnetmap.ui.Main

  public static Controller getController() {
    return controller;
  }
 
  public static void main(String[] args) {
    controller = new Controller(new MapModel(), new Main());
  }
View Full Code Here

Examples of com.admob.rocksteady.Main

  private static final Config config = Config.getInstance();


  public static void main(String[] args) {
    logger.info("Running Rocksteady...");
    Main mainProc = new Main();
    try {
      mainProc.setRuntimeContext();
      mainProc.initialize();
      mainProc.start();
    } catch (Throwable xThrowable) {
      logger.error(xThrowable.getMessage(), xThrowable);
    }
  }
View Full Code Here

Examples of com.foundationdb.sql.Main

    @Ignore
    public void shortenedTimeout() throws InterruptedException
    {
        int INITIAL_TIMEOUT_MILLI = 10000000;
        int MODIFIED_TIMEOUT_MILLI = 5000;
        Main layerInfo = (Main) layerInfo();
        configService().queryTimeoutMilli(INITIAL_TIMEOUT_MILLI);
        final Operator plan = new DoNothingForever();
        final Cursor cursor = cursor(plan, queryContext, queryBindings);
        final AtomicBoolean exited = new AtomicBoolean(false);
        Thread queryThread = new Thread(
View Full Code Here

Examples of com.hp.hpl.jena.iri.impl.Main

     * In fact more than one spec can be used, in which case violations
     * of any of them are reported.
     * @param args
     */
        static public void main(String args[]){
            new Main().main(args);
        }
View Full Code Here

Examples of com.hp.hpl.jena.iri.impl.Main

     * In fact more than one spec can be used, in which case violations
     * of any of them are reported.
     * @param args
     */
        static public void main(String args[]){
            new Main().main(args);
        }
View Full Code Here

Examples of com.ngdata.hbaseindexer.Main

            collection2.commit();
        } else {
            firstTest = false;
        }

        main = new Main();
        main.startServices(conf);
    }
View Full Code Here

Examples of com.ponysdk.core.main.Main

            final BootstrapServlet bootstrapServlet = new BootstrapServlet();
            bootstrapServlet.addStylesheet("css/sample.less");
            bootstrapServlet.addStylesheet("css/ponysdk.less");
            bootstrapServlet.addJavascript("script/less.js");

            final Main main = new Main();
            main.setApplicationContextName("trading");
            main.setPort(8081);
            main.setHttpServlet(httpServlet);
            main.setHttpSessionListener(applicationLoader);
            main.setServletContextListener(applicationLoader);
            main.setBootstrapServlet(bootstrapServlet);
            main.start();
        } catch (final Exception e) {
            log.error("", e);
        }
    }
View Full Code Here

Examples of com.redhat.ceylon.compiler.java.launcher.Main

    }
   
    @Override
    public void initialize() throws IOException {
        setSystemProperties();
        compiler = new Main("ceylon compile");
        Options options = Options.instance(new Context());
       
        if (modulesOrFiles.isEmpty() &&
                !javac.contains("-help") &&
                !javac.contains("-X") &&
View Full Code Here

Examples of com.skymobi.qc.admin.framework.util.Main

    Project project = projectBO.getProjectByTag(tag);
    model.addAttribute("project", projectBO.getProjectByTag(tag));
    model.addAttribute("projectList", projectBO.getProjectList(project));
    model.addAttribute("customFieldList", fieldsBO.customFieldList(project.getId()));
   
    Main main = getMain(model);
    projectBO.setMainMenu(main, tag);
    main.setAction("/project/"+tag);
   
    return "/project/summary";
  }
View Full Code Here

Examples of com.sun.enterprise.module.bootstrap.Main

            // some code to be executed which may be depending on the environment variable values.
            setEnv(gfProps.getProperties());
            final StartupContext startupContext = new StartupContext(gfProps.getProperties());
            final ServiceTracker hk2Tracker = new ServiceTracker(getBundleContext(), Main.class.getName(), null);
            hk2Tracker.open();
            final Main main = (Main) hk2Tracker.waitForService(0);
            hk2Tracker.close();
            final ModulesRegistry mr = ModulesRegistry.class.cast(getBundleContext().getService(getBundleContext().getServiceReference(ModulesRegistry.class.getName())));
            ServiceLocator serviceLocator = main.createServiceLocator(mr, startupContext, null, null);
            final ModuleStartup gfKernel = main.findStartupService(mr, serviceLocator, null, startupContext);
            GlassFish glassFish = createGlassFish(gfKernel, serviceLocator, gfProps.getProperties());
            gfs.add(glassFish);
            return glassFish;
        } catch (BootException ex) {
            throw new GlassFishException(ex);
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.