for(final String path : this.searchPaths ) {
// check if the search path exists
final Resource spResource = this.resourceResolver.getResource(path.substring(0, path.length() - 1));
if ( spResource != null ) {
// now iterate over the child nodes
final Iterator<Resource> spIter = spResource.listChildren();
while ( spIter.hasNext() ) {
// check if the node has a rewriter config
final Resource appResource = spIter.next();
final Resource parentResource = this.resourceResolver.getResource(appResource.getPath() + CONFIG_PATH);
if ( parentResource != null ) {