|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jmonks.batch.framework.config.JobControllerConfig
org.jmonks.batch.framework.config.BasicJobControllerConfig
org.jmonks.batch.framework.config.db.DBBasicJobControllerConfig
DBBasicJobControllerConfig loads the job controller configuration from the defined
database. This loads the basic controller configuration from the table basic_job_controller_config.
Following is the schema of that table defined in the database.
| Column Name | Data Type | Purpose |
| JOB_NAME | VARCHAR2(64) | Name of the Job. |
| BASIC_JOB_PROCESSOR_CLASS_NAME | VARCHAR2(256) | Name of the processor class implements the business logic by extending the BasicJobProcessor class. |
| BASIC_JOB_PROCESSOR_THREAD_CNT | NUMBER | Number of processor instances(each instance will be executed in its own thread) to be created while executing the job. |
| BASIC_JOB_PROCESSOR_PROPS | VARCHAR2(1024) | Configuration properties required by the processor. These can be accessed through JobContext reference. |
| Field Summary |
| Fields inherited from class org.jmonks.batch.framework.config.BasicJobControllerConfig |
basicJobProcessorClassName, basicJobProcessorConfigProps, basicJobProcessorThreadCount |
| Fields inherited from class org.jmonks.batch.framework.config.JobControllerConfig |
jobControllerClassName, jobControllerConfigProps |
| Constructor Summary | |
DBBasicJobControllerConfig(java.lang.String jobName,
java.sql.Connection connection)
Loads the basic job controller configuration from table basic_job_controller_config into DBBasicJobControllerConfig object. |
|
| Methods inherited from class org.jmonks.batch.framework.config.BasicJobControllerConfig |
getBasicJobProcessorClassName, getBasicJobProcessorConfigProperties, getBasicJobProcessThreadCount, toString |
| Methods inherited from class org.jmonks.batch.framework.config.JobControllerConfig |
getJobControllerClasName, getJobControllerConfigProperties |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DBBasicJobControllerConfig(java.lang.String jobName,
java.sql.Connection connection)
jobName - Name of the job.connection - Connection to the defined database.
ConfigurationException - If controller class name or job processor name doest not found.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||