|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jmonks.batch.framework.config.JobConfig
org.jmonks.batch.framework.config.xml.XMLJobConfig
XMLJobConfig provides the implementation of JobConfig by reading the
job configuration from XML DOM element <job-config> configured in the
job configuration file. This reads and represents the following piece of XML
block from job configuration file.
<job-config job-name="process_file_xyz">
<job-controller job-controller-class-name="org.jmonks.batch.framework.controller.basic.BasicJobController">
<basic-job-processor basic-job-processor-class-name="com.mycompany.batch.processfilexyz.XyzProcessor" thread-count="1">
<property key="basic-job-processor-config1">processor-value1</property>
</basic-job-processor>
<property key="basic-job-controller-config1">config-value1</property>
</job-controller>
<job-logging-config>
<logger-config logger-name="com.mycompany.batch" logger-level="ERROR"/>
</job-logging-config>
</job-config>
| Field Summary | |
static java.lang.String |
JOB_CONFIG_ELEMENT_NAME
Element name that identifies the job configuration which is job-config. |
static java.lang.String |
JOB_NAME_ATTRIBUTE_NAME
Attribute name that identifies the job name which is job-name. |
static java.lang.String |
JOB_STATUS_ATTRIBUTE_NAME
Attribute name that identifies the job status which is job-status. |
| 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 |
| Field Detail |
public static final java.lang.String JOB_CONFIG_ELEMENT_NAME
job-config.
public static final java.lang.String JOB_NAME_ATTRIBUTE_NAME
job-name.
public static final java.lang.String JOB_STATUS_ATTRIBUTE_NAME
job-status.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||