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