1 package org.objectweb.celtix.bus.management; 2 3 import org.objectweb.celtix.Bus; 4 import org.objectweb.celtix.BusException; 5 6 7 public class MBServerStart { 8 protected MBServerStart() { 9 } 10 11 public static void main(String [] args) throws BusException { 12 Bus bus = Bus.init(args); 14 System.out.println("BusID is " + bus.getBusID()); 15 bus.getWorkQueueManager().getAutomaticWorkQueue(); 17 System.out.println("Waiting forever..."); 19 try { 20 Thread.sleep(Long.MAX_VALUE); 21 } catch (InterruptedException e) { 22 e.printStackTrace(); 24 } 25 26 86 87 } 88 } 89 90 | Popular Tags |