code: @Override
      public Resource[] getResources(String pattern) {
          Resource[] resources = cache.get(pattern);
          return resources == null ? internalGet(pattern) : resources;
      }
docs: Returns an array of resources corresponding to the specified pattern. If the pattern has not
  yet been cached, the resources will be enumerated by the application context and stored in
  the cache.
  
  @param pattern Pattern to be used to lookup resources.
  @return An array of matching resources, sorted alphabetically by file name.