/** * {@inheritDoc} */ @Override public void close() throws Exception { session.close(); }
/** * {@inheritDoc} */ @Override public void close() throws Exception { session.close(); }
/** * {@inheritDoc} */ @Override public void close() throws Exception { session.close(); } }
/** * Vert.x calls the stop method when the verticle is undeployed. * Put any cleanup code for your verticle in here */ @Override public void tearDown() throws Exception { try { if (session != null) { session.close(); } } catch (Exception e) { e.printStackTrace(); } super.tearDown(); }