package de.uhilger.calypso.neu;
|
|
import java.util.HashMap;
|
|
/**
|
*
|
* @author Ulrich Hilger
|
*/
|
public class App {
|
/**
|
* @param args the command line arguments
|
*/
|
public static void main(String[] args) {
|
HashMap<String, String> initParams = new HashMap();
|
for (String arg : args) {
|
String[] argParts = arg.split(Server.EQUAL);
|
initParams.put(argParts[0], argParts[1]);
|
}
|
String conf = initParams.get(Server.CONF);
|
AppProperties einst = new AppProperties();
|
einst.readFile(conf);
|
Server server;
|
server = new Server();
|
server.start(einst);
|
}
|
|
}
|