org.jmonks.batch.framework.config.db
Class DBJobConfig

java.lang.Object
  extended byorg.jmonks.batch.framework.config.JobConfig
      extended byorg.jmonks.batch.framework.config.db.DBJobConfig

public class DBJobConfig
extends JobConfig

DBJobConfig provides the implementation of JobConfig by reading the job configuration from given connection. This reads the job configuration from table job_config. Following is the schema of that table.

      
Column NameData TypePurpose
JOB_NAMEVARCHAR2(64)Name of the Job.
JOB_STATUSNUMBERStatus of the job. 1 - Active, 0 - Inactive
JOB_CONTROLLER_CLASS_NAMEVARCHAR2(256)Controller to be used for this job. For pool job controller "org.jmonks.batch.framework.controller.pool.PoolJobController and for basic job controller org.jmonks.batch.framework.controller.basic.BasicJobController
JOB_CONTROLLER_PROPSVARCHAR2(1024)Configuration properties for the controller. See the schema column comments for the format.

Since:
1.0
Version:
1.0
Author:
Suresh Pragada

Field Summary
 
Fields inherited from class org.jmonks.batch.framework.config.JobConfig
jobControllerConfig, jobLoggingConfig, jobName, jobStatus
 
Methods inherited from class org.jmonks.batch.framework.config.JobConfig
getJobControllerConfig, getJobLoggingConfig, getJobName, getJobStatus, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait