org.jmonks.batch.framework.config
Class JobControllerConfig

java.lang.Object
  extended byorg.jmonks.batch.framework.config.JobControllerConfig
Direct Known Subclasses:
BasicJobControllerConfig, DBJobControllerConfig, PoolJobControllerConfig, XMLJobControllerConfig

public abstract class JobControllerConfig
extends java.lang.Object

JobControllerConfig represents the configuration needed for the Controller componenet. There could be different implementations of the controller componenet available. Each controller componenet can have different configurations. So, this class provides the basic features required by all the controllers. Each controller will have specific controller config which extends this base interface and provide the extra features required by that specific controller implementation.

By specifying the controller class name, job defines the controller that it wants to use. Each controller will take some additional parameters for their opertations. So every controller will have the class name and properties.

Since:
1.0
Version:
1.0
Author:
Suresh Pragada

Field Summary
protected  java.lang.String jobControllerClassName
          Class name that defines the kind of controller job wants to use.
protected  java.util.Map jobControllerConfigProps
          Map holds the required properties support the specified controller.
 
Constructor Summary
JobControllerConfig()
           
 
Method Summary
 java.lang.String getJobControllerClasName()
          Gets the job controller class name.
 java.util.Map getJobControllerConfigProperties()
          Gets the unmodifiable map contains the properties required by the controller.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jobControllerClassName

protected java.lang.String jobControllerClassName
Class name that defines the kind of controller job wants to use.


jobControllerConfigProps

protected java.util.Map jobControllerConfigProps
Map holds the required properties support the specified controller.

Constructor Detail

JobControllerConfig

public JobControllerConfig()
Method Detail

getJobControllerClasName

public java.lang.String getJobControllerClasName()
Gets the job controller class name.

Returns:
Returns the controller class name.

getJobControllerConfigProperties

public java.util.Map getJobControllerConfigProperties()
Gets the unmodifiable map contains the properties required by the controller.

Returns:
Returns the properites in a map.