code: public void setSearchLocation(String searchLocation) {
          ResourceLoader resourceLoader = getDefaultResourceLoader();
          patchMatchingResolver = new PathMatchingResourcePatternResolver(resourceLoader);
          initializeForSearchLocation(searchLocation);
      }
docs: Set the search location.
  
  @param searchLocation The search location