@POST
    @Path("close")    
    public void close(String id) {
    	Connection connection = ConnectionHolder.get().get(id);
    	try {
			connection.close();
			ConnectionHolder.get().remove(id);
		} catch (SQLException e) {
			// TODO
			throw new RuntimeException(e);
		}		
    }
@ POST @ Path ( "close" ) public void close ( String id ) { Connection connection = ConnectionHolder . get ( ) . get ( id ) ; try { connection . close ( ) ; ConnectionHolder . get ( ) . remove ( id ) ; } catch ( SQLException e ) { throw new RuntimeException ( e ) ; } }
private static final Logger LOG = LoggerFactory.getLogger(ConnectionWebService.class);