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

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

public class FrameworkConfig.JobConnectorConfig
extends java.lang.Object

JobConnectorConfig class holds the configuration required to create the JobConnectorHelper classes used in establishing the job management agent and clients. This configuration defines the specialized job connector helper class name and properties required by that helper class. This class cannot be instantiated by any other classes outside this framework.

This class holds the following configuration from the framework configuration file.

      <job-connector-config job-connector-helper-class-name="org.jmonks.batch.framework.management.jmxmp.RepositoryJMXMPConnectorHelper">
          <property key="port-range">15000-20000</property>
      </job-connector-config>
  


Method Summary
 java.util.Map getJobConnectorConfigProperties()
          Returns the unmodifiable map consist of the properties needed by the defined job connectors.
 java.lang.String getJobConnectorHelperClassName()
          Returns the defined job connector helper class name for the framework.
 java.lang.String toString()
           Returns the string representation of JobConnectorConfig class in the format
{JobConnectorConfig [jobConnectorHelperClassName = value] [properties = value]}
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getJobConnectorHelperClassName

public java.lang.String getJobConnectorHelperClassName()
Returns the defined job connector helper class name for the framework.

Returns:
Returns the job connector helper class name.

getJobConnectorConfigProperties

public java.util.Map getJobConnectorConfigProperties()
Returns the unmodifiable map consist of the properties needed by the defined job connectors.

Returns:
Returns the properties in a map.

toString

public java.lang.String toString()

Returns the string representation of JobConnectorConfig class in the format
{JobConnectorConfig [jobConnectorHelperClassName = value] [properties = value]}

Returns:
Returns the string representation of JobConnectorConfig.