code: private boolean closeAll(Context context)
     {
        boolean unclosed = false;
        CloseConnectionSynchronization ccs = getCloseConnectionSynchronization(true);
  
        for (org.ironjacamar.core.connectionmanager.ConnectionManager cm : context.getConnectionManagers())
        {
           for (org.ironjacamar.core.connectionmanager.listener.ConnectionListener cl :
                   context.getConnectionListeners(cm))
           {
              for (Object c : context.getConnections(cl))
              {
                 if (ccs == null)
                 {
                    unclosed = true;
  
                    if (Tracer.isEnabled())
                    {
                       Tracer.closeCCMConnection(cl.getManagedConnectionPool().getPool()
                                                 .getConfiguration().getId(),
                                                 cl.getManagedConnectionPool(),
                                                 cl, c, context.toString());
                    }
  
                    closeConnection(c);
                 }
                 else
                 {
                    ccs.add(c);
                 }
              }
           }
        }
  
        return unclosed;
     }
docs: Close all connections for a context
  @param context The context
  @return True if connections were closed, otherwise false