1 26 27 package org.objectweb.benchmark.fractal.latency; 28 29 import org.objectweb.fractal.rmi.registry.NamingService; 31 import org.objectweb.fractal.rmi.registry.Registry; 32 import org.objectweb.fractal.util.Fractal; 33 34 41 public class ServerLauncher 42 { 43 public static void main(String [] args) 44 { 45 NamingService ns = null; 46 47 System.setSecurityManager(new SecurityManager ()); 49 50 try 51 { 52 ns = Registry.getRegistry(); 53 ns.bind("PingServer", Fractal.getBootstrapComponent()); 54 } catch (Exception e) { 55 e.printStackTrace(); 56 } 57 } 58 } 59 | Popular Tags |