commandLine.register(FlagConfig.class);
commandLine.parse(args);
SampleFileSystemFeedConfigStore feedConfigStore = new SampleFileSystemFeedConfigStore();
logger.info("Created a file system config store");
FeedServerConfiguration config = FeedServerConfiguration.createIntance(feedConfigStore);
config.setAclValidator(new AllowAllAclValidator());
config.initialize(new SimpleCommandLineParser(args));
config.setWrapperManagerClassName(XmlWrapperManager.class.getName());
// set up server
Server server = new Server(config.getPort());
// server.getConnectors()[0].setHost("localhost"); // listen on localhost:{port} only
Context context = new Context(server, "/", Context.SESSIONS);
// Add the Abdera servlet
ServletHolder servletHolder = new ServletHolder(new GVizServlet());