code: public void releaseAllResources()
      {
          super.releaseAllResources();
          synchronized (poolSynch)
          {
              if (!poolMap.isEmpty())
              {
                  Collection pools = poolMap.values();
                  Iterator iterator = pools.iterator();
                  ObjectPool op = null;
                  while (iterator.hasNext())
                  {
                      try
                      {
                          op = (ObjectPool) iterator.next();
                          op.close();
                      }
                      catch (Exception e)
                      {
                          log.error("Exception occured while closing ObjectPool " + op, e);
                      }
                  }
                  poolMap.clear();
              }
              dsMap.clear();
          }
      }
docs: Closes all managed pools.