in src/main/java/org/apache/sling/discovery/commons/providers/spi/base/IdMapService.java [100:116]
protected void activate(BundleContext bundleContext) {
this.bundleContext = bundleContext;
registerEventHandler();
startBackgroundCheck("IdMapService-initializer", new BackgroundCheck() {
@Override
public boolean check() {
try {
return init();
} catch (Exception e) {
logger.error("initializer: could not init due to "+e, e);
return false;
}
}
}, null, -1, 1000 /* = 1sec interval */);
}