Package org.apache.sling.event.impl.jobs.tasks

Examples of org.apache.sling.event.impl.jobs.tasks.CleanUpTask


     * @param props Configuration properties
     */
    @Activate
    protected void activate(final Map<String, Object> props) throws LoginException {
        this.jobScheduler = new JobSchedulerImpl(this.configuration, this.scheduler, this);
        this.maintenanceTask = new CleanUpTask(this.configuration);

        logger.info("Apache Sling Job Manager started on instance {}", Environment.APPLICATION_ID);
    }
View Full Code Here


     * @see java.lang.Runnable#run()
     */
    @Override
    public void run() {
        // invoke maintenance task
        final CleanUpTask task = this.maintenanceTask;
        if ( task != null ) {
            task.run();
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.sling.event.impl.jobs.tasks.CleanUpTask

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.