protected void tearDown() throws Exception { if (wiser != null) { wiser.stop(); } ((AsyncMinaHTWorkItemHandler) getHandler()).dispose(); getClient().disconnect(); super.tearDown(); server.stop(); }
protected void stop() throws Exception { server.stop(); taskSession.dispose(); emf.close(); }