public void setSearchLocations(Collection<String> searchLocations) {
        patchMatchingResolver = new PathMatchingResourcePatternResolver(getDefaultResourceLoader());
        for (String searchLocation : searchLocations) {
            initializeForSearchLocation(searchLocation);
        }
    }
public void setSearchLocations ( Collection < String > searchLocations ) { patchMatchingResolver = new PathMatchingResourcePatternResolver ( getDefaultResourceLoader ( ) ) ; for ( String searchLocation : searchLocations ) { initializeForSearchLocation ( searchLocation ) ; } }
Set search locations.

@param searchLocations The search locations