org.jmonks.batch.framework.config
Class BasicJobControllerConfig

java.lang.Object
  extended byorg.jmonks.batch.framework.config.JobControllerConfig
      extended byorg.jmonks.batch.framework.config.BasicJobControllerConfig
Direct Known Subclasses:
DBBasicJobControllerConfig, XMLBasicJobControllerConfig

public abstract class BasicJobControllerConfig
extends JobControllerConfig

BasicJobControllerConfig provides the configuration for the BasicJobController.

BasicJobController holds the class name that extended the BasicJobProcessor and number of instances(each instance run its own thread) to be created to run this processor and configuration required by that processor.

Since:
1.0
Version:
1.0
Author:
Suresh Pragada

Field Summary
protected  java.lang.String basicJobProcessorClassName
          Basic job processor class name.
protected  java.util.Map basicJobProcessorConfigProps
          Map contains the properties required by the basic job processor.
protected  int basicJobProcessorThreadCount
          Holds the number of instances needs to be created.
 
Fields inherited from class org.jmonks.batch.framework.config.JobControllerConfig
jobControllerClassName, jobControllerConfigProps
 
Constructor Summary
BasicJobControllerConfig()
           
 
Method Summary
 java.lang.String getBasicJobProcessorClassName()
          Gets the basic job processor class name.
 java.util.Map getBasicJobProcessorConfigProperties()
          Gets the unmodifiable map contains the properties required by basic job processor.
 int getBasicJobProcessThreadCount()
          Returns the number of basic job processor instances needs to be run to process this job.
 java.lang.String toString()
           Returns the string representation of BasicJobControllerConfig class in the format
{BasicJobControllerConfig [controllerClassName = value] [controllerConfigProps = value] [basicJobProcessorClassName = value] [basicJobProcessorConfigProps = value] [basicJobProcessorThreadCount = value]}
 
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
 

Field Detail

basicJobProcessorClassName

protected java.lang.String basicJobProcessorClassName
Basic job processor class name.


basicJobProcessorConfigProps

protected java.util.Map basicJobProcessorConfigProps
Map contains the properties required by the basic job processor.


basicJobProcessorThreadCount

protected int basicJobProcessorThreadCount
Holds the number of instances needs to be created.

Constructor Detail

BasicJobControllerConfig

public BasicJobControllerConfig()
Method Detail

getBasicJobProcessorClassName

public java.lang.String getBasicJobProcessorClassName()
Gets the basic job processor class name.

Returns:
Returns the basic job processor class name.

getBasicJobProcessorConfigProperties

public java.util.Map getBasicJobProcessorConfigProperties()
Gets the unmodifiable map contains the properties required by basic job processor.

Returns:
Returns the map contains the properties required by basic job processor.

getBasicJobProcessThreadCount

public int getBasicJobProcessThreadCount()
Returns the number of basic job processor instances needs to be run to process this job.

Returns:
Returns the number of threads.

toString

public java.lang.String toString()

Returns the string representation of BasicJobControllerConfig class in the format
{BasicJobControllerConfig [controllerClassName = value] [controllerConfigProps = value] [basicJobProcessorClassName = value] [basicJobProcessorConfigProps = value] [basicJobProcessorThreadCount = value]}

Returns:
Returns the string representation of BasicJobControllerConfig.