Examples of Main


Examples of org.apache.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 org.apache.karaf.main.Main

            System.setProperty("karaf.history", root + "/data/history.txt");
            System.setProperty("karaf.instances", root + "/instances");
      System.setProperty("karaf.startLocalConsole", "false");
      System.setProperty("karaf.startRemoteShell", "true");
            System.setProperty("karaf.lock", "false");
      main = new Main(new String[0]);
            main.launch();
    } catch (Exception e) {
      main = null;
      e.printStackTrace();
    }
View Full Code Here

Examples of org.apache.karaf.main.Main

            System.setProperty("karaf.history", root + "/data/history.txt");
            System.setProperty("karaf.instances", root + "/instances");
      System.setProperty("karaf.startLocalConsole", "false");
      System.setProperty("karaf.startRemoteShell", "true");
            System.setProperty("karaf.lock", "false");
      main = new Main(new String[0]);
            main.launch();
    } catch (Exception e) {
      main = null;
      e.printStackTrace();
    }
View Full Code Here

Examples of org.apache.servicemix.kernel.main.Main

      System.err.println("Root: " + root);
      System.setProperty("servicemix.home", root);
      System.setProperty("servicemix.base", root);
      System.setProperty("servicemix.startLocalConsole", "false");
      System.setProperty("servicemix.startRemoteShell", "true");
      main = new Main(new String[0]);
      main.launch();
    } catch (Exception e) {
      main = null;
      e.printStackTrace();
    }
View Full Code Here

Examples of org.apache.xbean.server.main.Main

                factory = new ClassPathXmlApplicationContext(configurationFile);
            }

            // get the main service from the configuration file
            String[] names = factory.getBeanNamesForType(Main.class);
            Main main = null;
            if (names.length == 0) {
                throw new FatalStartupError("No bean of type: " + Main.class.getName() + " found in the bootstrap file: " + configurationFile, 10);
            }
            main = (Main) factory.getBean(names[0]);
            return main;
View Full Code Here

Examples of org.aspectj.tools.ajc.Main

            String[] args = cmd.getCommandline();
            // XXX avoid rendering if not verbosely logging?
            log("Running  in-process using "
                + Ajc10.render(cmd.getCommandline()), Project.MSG_VERBOSE);
         
          Main main = new Main();
          main.run(args, holder);
          int errs = holder.numMessages(IMessage.ERROR, true);
          if (0 < errs) {
            result = 1;
          } else {
                result = 0;
View Full Code Here

Examples of org.aspectj.tools.ajc.Main

   */
  public boolean quit() {
    if (executingInOtherVM) {
      return false;
    }
    Main me = main;
    if (null != me) {
      me.quit();
    }
    return true;
  }
View Full Code Here

Examples of org.aspectj.tools.ajc.Main

      numPreviousErrors = 0;
    } else {
      numPreviousErrors = holder.numMessages(IMessage.ERROR, true);
    }
    {
      Main newmain = new Main();
      newmain.setHolder(holder);
      newmain.setCompletionRunner(new Runnable() {
        public void run() {
          doCompletionTasks();
        }
      });
      if (null != main) {
View Full Code Here

Examples of org.atomojo.app.Main

   public void init(String[] arguments) {
      // Here open the configuration files, create the trace file, create the ServerSockets, the Threads
      if (arguments.length!=1) {
         throw new RuntimeException("The minimum number of argument is 1 (the directory).");
      }
      main = new Main(arguments);
      try {
         // bind
         main.init();
      } catch (Exception ex) {
         ex.printStackTrace();
View Full Code Here

Examples of org.atomojo.app.Main

         newargs[0] = "-c";
         newargs[1] = XMLDBStorageFactory.class.getName();
         System.arraycopy(args, 0, newargs, 2, args.length);
         args = newargs;
      }
      main = new Main(args);
      try {
         // bind
         main.init();
      } catch (Exception ex) {
         ex.printStackTrace();
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.