in src/main/java/org/apache/sling/commons/scheduler/impl/SettingsSupport.java [111:122]
private synchronized void retainService() {
final ServiceReference reference = bundleContext.getServiceReference(SETTINGS_NAME);
if ( reference != null ) {
final SlingSettingsService service = (SlingSettingsService)bundleContext.getService(reference);
if ( service != null ) {
QuartzJobExecutor.SLING_ID = service.getSlingId();
this.bundleContext.ungetService(reference);
// stop the listener, we don't need it anymore
this.stop();
}
}
}