in src/main/java/org/apache/sling/installer/provider/jcr/impl/InstallerConfig.java [136:146]
public List<InstallableResource> scanWatchedFolders() throws RepositoryException {
final List<InstallableResource> resources = new LinkedList<InstallableResource>();
synchronized ( this.watchedFolders ) {
for(final WatchedFolder f : this.watchedFolders) {
final WatchedFolder.ScanResult r = f.scan();
logger.debug("Startup: {} provides resources {}", f, r.toAdd);
resources.addAll(r.toAdd);
}
}
return resources;
}