code: public void destroyConnectionListener(ConnectionListener cl) throws ResourceException
     {
        if (getInternalStatistics().isEnabled())
           getInternalStatistics().deltaDestroyedCount();
  
        try
        {
           cl.getManagedConnection().destroy();
        }
        catch (Exception e)
        {
           throw new ResourceException(e);
        }
        finally
        {
           cl.setState(DESTROYED);
           semaphore.release();
        }
     }
docs: {@inheritDoc}