Package org.apache.cocoon.components.cron

Examples of org.apache.cocoon.components.cron.ConfigurableCronJob.execute()


        ConfigurableCronJob t = null;
        final String name = cacheKey.getKey();
        try {
            t = (ConfigurableCronJob)this.manager.lookup(this.schedulerTarget);
            t.setup(conf.parameters, conf.map);
            t.execute(name);
        } catch (ServiceException se) {
            throw new SourceException("Unable to lookup target " + this.schedulerTarget, se);
        } finally {
            this.manager.release(t);
        }
View Full Code Here


        ConfigurableCronJob t = null;
        final String name = cacheKey.getKey();
        try {
            t = (ConfigurableCronJob)this.manager.lookup(this.schedulerTarget);
            t.setup(conf.parameters, conf.map);
            t.execute(name);
        } catch (ComponentException ce) {
            throw new SourceException("Unable to lookup target " + this.schedulerTarget, ce);
        } finally {
            this.manager.release((Component)t);
        }
View Full Code Here

        ConfigurableCronJob t = null;
        final String name = cacheKey.getKey();
        try {
            t = (ConfigurableCronJob)this.manager.lookup(this.schedulerTarget);
            t.setup(conf.parameters, conf.map);
            t.execute(name);
        } catch (ComponentException ce) {
            throw new SourceException("Unable to lookup target " + this.schedulerTarget, ce);
        } finally {
            this.manager.release((Component)t);
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.