Package org.xmlBlaster.engine

Examples of org.xmlBlaster.engine.ServerScope


    */
   public Main(Global utilGlob) {
      if (utilGlob instanceof ServerScope)
         init(utilGlob);
      else
         init(new ServerScope(Property.propsToArgs(utilGlob.getProperty().getProperties())));
   }
View Full Code Here


                        this.getClass().getClassLoader().loadClass(initClass).newInstance();
             } catch (Exception e) {
            e.printStackTrace();
         }
      }
      init(new ServerScope(args));
   }
View Full Code Here

    *  Invoke: <pre>jaco org.xmlBlaster.MainGUI</pre><br />
    * to start xmlBlaster with a control panel
    */
   static public void main(String[] args)
   {
      ServerScope glob = new ServerScope(args);
      Main.controlPanel = new MainGUI(glob, null);
      Main.controlPanel.run();
   }
View Full Code Here

      String[] args = { //configure the cache
         "-persistence.persistentQueue", "JDBC,1.0",
         "-persistence.transientQueue", "RAM,1.0" };

      this.glob = new ServerScope(args);

      //this.ME = "I_MapTest[" + this.currMap.getClass().getName() + "]";
   }
View Full Code Here

    * Method is used by TestRunner to load these tests
    */
   public static Test suite()
   {
      TestSuite suite= new TestSuite();
      ServerScope glob = new ServerScope();
      suite.addTest(new I_MapTest("testByteOverflow", 2)); // For CACHE only
      for (int i=0; i<PLUGIN_TYPES.length; i++) {
         suite.addTest(new I_MapTest("testConfig", i));
         suite.addTest(new I_MapTest("testPutMsg", i));
         suite.addTest(new I_MapTest("testGetMsg", i));
View Full Code Here

    *  java -Dtrace=true org.xmlBlaster.test.classtest.msgstore.I_MapTest  > test.log
    * </pre>
    */
   public static void main(String args[]) {

      ServerScope glob = new ServerScope(args);

      I_MapTest testSub = new I_MapTest("I_MapTest", 1); // JDBC check
      //I_MapTest testSub = new I_MapTest("I_MapTest", 2); // CACHE check
      long startTime = System.currentTimeMillis();
      testSub.setUp();
View Full Code Here

   /**
    * Method is used by TestRunner to load these tests
    */
   public static Test suite() {
      TestSuite suite= new TestSuite();
      ServerScope glob = new ServerScope();
      for (int i=0; i < PLUGIN_TYPES.length; i++) {
         suite.addTest(new QueueServerEntryTest(glob, "testUpdateEntry", i));
         suite.addTest(new QueueServerEntryTest(glob, "testHistoryEntry", i));
      }
      return suite;
View Full Code Here

    *  java org.xmlBlaster.test.classtest.queue.QueueServerEntryTest
    * </pre>
    */
   public static void main(String args[]) {

      ServerScope glob = new ServerScope(args);

      for (int i=0; i < PLUGIN_TYPES.length; i++) {

         QueueServerEntryTest testSub = new QueueServerEntryTest(glob, "QueueServerEntryTest", i);
         long startTime = System.currentTimeMillis();
View Full Code Here

   private static Logger log = Logger.getLogger(MsgUnitWrapperTest.class.getName());
   private StopWatch stopWatch = new StopWatch();

   public MsgUnitWrapperTest(String name) {
      super(name);
      this.glob = new ServerScope();

   }
View Full Code Here

    * <pre>
    *  java org.xmlBlaster.test.classtest.msgstore.MsgUnitWrapperTest
    * </pre>
    */
   public static void main(String args[]) {
      ServerScope glob = new ServerScope(args);
      MsgUnitWrapperTest testSub = new MsgUnitWrapperTest("MsgUnitWrapperTest");
      long startTime = System.currentTimeMillis();

      testSub.setUp();
      testSub.testSerialize();
View Full Code Here

TOP

Related Classes of org.xmlBlaster.engine.ServerScope

Copyright © 2018 www.massapicom. 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.