ZKSessionManager.instance().waitConnected();
HandlerList handlers = new HandlerList();
Map<Class<?>, Object> classMap = new HashMap<Class<?>, Object>();
classMap.put(ExchangeFarm.class, new ExchangeFarm());
classMap.put(GraphEditorMain.class, this);
ServletContextHandler handler = new ServletContextHandler(ServletContextHandler.SECURITY | ServletContextHandler.SESSIONS);
ServletHolder jerseyHolder = new ServletHolder(new GraphEditorContainer(classMap));
handler.addServlet(new ServletHolder(new Proxy()), "/proxy/*");