if (xfire == null) { xfire = XFireFactory.newInstance().getXFire(); }
    protected void doInit() throws Exception {        super.doInit();        configuration.setRootDir(context.getWorkspaceRoot());        configuration.load();        if (server == null) {            server = new ServerManager();            server.init();        }        if (xfire == null) {            xfire = XFireFactory.newInstance().getXFire();        }        if (client == null) {            connectionManager = new MultiThreadedHttpConnectionManager();            client = new HttpClient(connectionManager);        }    }