/* 44 */ MBeanServer mbeanServer = MBeanServerFactory.createMBeanServer();
/* */
/* 46 */ NetworkRegistry registry = NetworkRegistry.getInstance();
/* */
/* 48 */ String host = InetAddress.getLocalHost().getHostAddress();
/* 49 */ JNDIDetector jndiDetector = new JNDIDetector();
/* 50 */ jndiDetector.setPort(2410);
/* 51 */ jndiDetector.setHost(host);
/* 52 */ jndiDetector.setContextFactory("org.jnp.interfaces.NamingContextFactory");
/* 53 */ jndiDetector.setURLPackage("org.jboss.naming:org.jnp.interfaces");
/* */
/* 56 */ InternalTransporterServices transporterService = InternalTransporterServices.getInstance();
/* */
/* 58 */ transporterService.setup(mbeanServer, jndiDetector, new ObjectName("remoting:type=Detector,transport=jndi"), registry, new ObjectName("remoting:type=NetworkRegistry"), true, true);
/* */
/* 64 */ jndiDetector.start();
/* */ }