in src/main/java/org/apache/sling/superimposing/impl/SuperimposingManagerImpl.java [147:165]
private void registerAllSuperimposings() {
log.info("Start registering all superimposing trees...");
final long start = System.currentTimeMillis();
long countSuccess = 0;
long countFailed = 0;
final List<Resource> existingSuperimposings = findSuperimposings(resolver);
for (Resource superimposingResource : existingSuperimposings) {
boolean success = registerProvider(superimposingResource);
if (success) {
countSuccess++;
} else {
countFailed++;
}
}
final long time = System.currentTimeMillis() - start;
log.info("Registered {} SuperimposingResourceProvider(s) in {} ms, skipping {} invalid one(s).", countSuccess, time, countFailed);
}