Closes new connections, does nothing if connetion was passed by the connect() method.
Implements de.alysis.r.submit.model.Submit. 00117 {
00118 if (connection != null && isNewConnection) {
00119 connection.close();
00120 connection = null;
00121 }
00122 logger.info("Connection closed. ");
00123 }
|