136137138139140141142143144145146
Kernel kernel = getKernel(); ServerConnection connection; if (isEmbeddedServer(hostname, port)) { connection = new OfflineServerConnection(kernel, false); } else { if (!quiet) { println("Connecting to Geronimo server: " + hostname + ":" + port); }
140141142143144145146147148149150
Kernel kernel = getKernel(); ServerConnection connection; if (isEmbedded(kernel)) { connection = new OfflineServerConnection(kernel, false); } else { if (!quiet) { println("Connecting to Geronimo server: " + hostname + ":" + port); }