code: public List<String> iterateScopeNameList() {
          log.debug("iterateScopeNameList called");
          Collection<IScope> scopes = getScopes();
          log.debug("Scopes: {}", scopes.size());
          List<String> scopeNames = new ArrayList<String>(scopes.size());
          for (IScope scope : scopes) {
              log.debug("Client scope: {}", scope);
              scopeNames.add(scope.getName());
              if (log.isDebugEnabled()) {
                  for (Map.Entry<String, Object> entry : scope.getAttributes().entrySet()) {
                      log.debug("Client scope attr: {} = {}", entry.getKey(), entry.getValue());
                  }
              }
          }
          return scopeNames;
      }
docs: Iterate through the scopes and their attributes. Used by JMX
  
  @return list of scope attributes