|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jmonks.batch.framework.config.FrameworkConfig.JobConfigFactoryConfig
JobConfigFactoryConfig class holds the configuration information required by Job configuration factories. Factory would need some properties like source of the job configuration, credentials to access the source based on the factory type. This object provides the factory class name and its supported property information.
This class will be accessible to all the classes in the framework and can be created only by the FrameworkConfig class.
Holds the following configuration defined in the framework configuration file.
<job-config-factory-config job-config-factory-class-name="org.jmonks.batch.framework.config.xml.XMLJobConfigFactory"> <property key="config-file-absolute-location">/batchserver/config/batch-config.xml</property> <!-- Following is the another way to configure the XML Job configuration. <property key="config-file-classpath-location">org.jmonks.batch.framework.config.batch-config.xml</property> --> </job-config-factory-config>
Method Summary | |
java.lang.String |
getJobConfigFactoryClassName()
Returns the class name of the factory used to read the job configuration. |
java.util.Map |
getJobConfigFactoryProperties()
Returns the unmodifiable properties map used by the factory class to read the job configuration. |
java.lang.String |
toString()
Returns the string representation of JobConfigFactoryConfig class in the format {JobConfigFactoryConfig [configFactoryclassName = value] [properties = value]} |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.lang.String getJobConfigFactoryClassName()
public java.util.Map getJobConfigFactoryProperties()
public java.lang.String toString()
Returns the string representation of JobConfigFactoryConfig class in the format
{JobConfigFactoryConfig [configFactoryclassName = value] [properties = value]}
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |