Norconex JEF 3.0.0 API

This library constitutes the Norconex Java Execution Framework.

See:
          Description

Packages
com.norconex.jef Core classes making up the Job Execution Framework.
com.norconex.jef.error Classes related to error/exception handling.
com.norconex.jef.exec Utility classes related to process/code execution.
com.norconex.jef.log Classes related to logging.
com.norconex.jef.mail Optional package containing convenient classes for sendind simple email notifications.
com.norconex.jef.progress Classes used to record and keep track of execution progess.
com.norconex.jef.progress.snapshot Classes related to capturing job progress at a moment in time.
com.norconex.jef.suite Classes related to job suites.

 

This library constitutes the Norconex Java Execution Framework.

Simple steps to get started:

The creation of a job suite may look like this:

    public class MyJobSuiteFactory implements IJobSuiteFactory {
    
        public JobSuite createJobSuite() {
            IJob rootJob = new AsyncJobGroup("asyncGroupSample", new IJob[] {
                    new MyJobA(),
                    new SyncJobGroup("syncGroupSample", new IJob[] {
                            new MyJobB(),
                            new MyJobC()
                    }),    
                    new MyJobD(),
                    new MyJobE()),
            });
            JobSuite suite = new JobSuite(rootJob);
            
            // add any listners/handlers to the suite

            return suite;
        }
    }

In the end, launching a job suite may look like this:

    IJobSuiteFactory factory = new MyJobSuiteFactory();
    JobSuite suite = factory.createJobSuite();
    JobRunner jobRunner = new JobRunner();
    jobRunner.runSuite(suite);



Copyright © 2007-2013 Norconex Inc.. All Rights Reserved.