org.jmonks.batch.framework.config.xml
Class XMLBasicJobControllerConfig

java.lang.Object
  extended byorg.jmonks.batch.framework.config.JobControllerConfig
      extended byorg.jmonks.batch.framework.config.BasicJobControllerConfig
          extended byorg.jmonks.batch.framework.config.xml.XMLBasicJobControllerConfig

public class XMLBasicJobControllerConfig
extends BasicJobControllerConfig

XMLBasicJobControllerConfig loads the XML job controller configuration. This loads the following XML block in <job-config> from job configuration file.

              <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>
  

Since:
1.0
Version:
1.0
Author:
Suresh Pragada

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
XMLBasicJobControllerConfig(org.w3c.dom.Element controllerConfigElement)
          Loads the XML job controller configuration into XMLBasicJobControllerConfig 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

XMLBasicJobControllerConfig

public XMLBasicJobControllerConfig(org.w3c.dom.Element controllerConfigElement)
Loads the XML job controller configuration into XMLBasicJobControllerConfig object.

Parameters:
controllerConfigElement - XML DOM Element represents the <job-controller> element;
Throws:
ConfigurationException - If controller class name or job processor name doest not found.