protected void activate()

in src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java [135:151]


    protected void activate(final BundleContext ctx, final QuartzSchedulerConfiguration configuration) {
        // SLING-2261 Prevent Quartz from checking for updates
        System.setProperty("org.terracotta.quartz.skipUpdateCheck", Boolean.TRUE.toString());

        QuartzJobExecutor.FORCE_LEADER.set(configuration.scheduler_useleaderforsingle());

        defaultPoolName = configuration.poolName();
        allowedPoolNames = configuration.allowedPoolNames();
        if (allowedPoolNames == null) {
            allowedPoolNames = new String[0];
        }
        ctx.addBundleListener(this);

        this.configHolder = new ConfigHolder(configuration);

        this.active = true;
    }