org.jmonks.batch.framework.config
Class FrameworkConfig.JobControllerConfig

java.lang.Object
  extended byorg.jmonks.batch.framework.config.FrameworkConfig.JobControllerConfig
Enclosing class:
FrameworkConfig

public class FrameworkConfig.JobControllerConfig
extends java.lang.Object

ControllerConfig holds the configuration related to the controller components. It holds the information like factory specific config objects related to each controller componenet and other information.

It represents the following XML block in itself and provides the methods to access those values.

          <job-controller-config>
               <job-controller controller-class-name="org.jmonks.batch.framework.controller.pool.PoolJobController" 
                   xml-factory-config-class-name="org.jmonks.batch.framework.config.xml.XMLPoolJobController" 
                   db-factory-config-class-name="org.jmonks.batch.framework.config.xml.DBPoolJobController"/>
           </job-controller-config>
  


Method Summary
 java.lang.String getConfigClassName(java.lang.String controllerClassName, java.lang.String factoryIdentifier)
          Gets the controller configuration class name from the controller config related to the requested factory.
 java.lang.String toString()
           Returns the string representation of JobControllerConfig class in the format
{JobControllerConfig [controllerProperties = value]}
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getConfigClassName

public java.lang.String getConfigClassName(java.lang.String controllerClassName,
                                           java.lang.String factoryIdentifier)
Gets the controller configuration class name from the controller config related to the requested factory.

Parameters:
controllerClassName - Complete class name of the controller.
Returns:
Returns the controller configuration class name of that particular factory, null, if it couldnt found.

toString

public java.lang.String toString()

Returns the string representation of JobControllerConfig class in the format
{JobControllerConfig [controllerProperties = value]}

Returns:
Returns the string representation of JobControllerConfig.