|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jmonks.batch.framework.config.JobControllerConfig org.jmonks.batch.framework.config.PoolJobControllerConfig org.jmonks.batch.framework.config.xml.XMLPoolJobControllerConfig
XMLPoolJobControllerConfig loads the controller configuration from XML Job controller
configuration. This reads the following XML block and loads the XMLPoolJobControllerConfig.
<job-controller job-controller-class-name="org.jmonks.batch.framework.controller.pool.PoolJobController"> <pool-job-loader pool-job-loader-class-name="com.mycompany.batch.processfileabc.AbcJobLoader"> <property key="pool-job-loader-key1">loader-value1</property> </pool-job-loader> <pool-job-processor pool-job-processor-class-name="com.mycompany.batch.processfileabc.AbcJobProcessor" thread-count="1"> <property key="pool-job-processor-key1">processor-value1</property> </pool-job-processor> <job-pool job-pool-class-name="org.jmonks.batch.framework.controller.pool.DefaultJobPool"> <property key="job-pool-size">50000</property> </job-pool> <property key="pool-job-controller-config1">config-value1</property> </job-controller>
Field Summary |
Fields inherited from class org.jmonks.batch.framework.config.PoolJobControllerConfig |
poolClassName, poolConfigProps, poolJobLoaderClassName, poolJobLoaderConfigProps, poolJobProcessorClassName, poolJobProcessorConfigProps, poolJobProcessorThreadCount |
Fields inherited from class org.jmonks.batch.framework.config.JobControllerConfig |
jobControllerClassName, jobControllerConfigProps |
Constructor Summary | |
XMLPoolJobControllerConfig(org.w3c.dom.Element controllerConfigElement)
Loads the XMLPoolJobControllerConfig from XML DOM Element <job-controller> |
Methods inherited from class org.jmonks.batch.framework.config.PoolJobControllerConfig |
getPoolClassName, getPoolConfigProperties, getPoolJobLoaderClassName, getPoolJobLoaderConfigProperties, getPoolJobProcessorClassName, getPoolJobProcessorConfigProperties, getPoolJobProcessorThreadCount, toString |
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 |
Constructor Detail |
public XMLPoolJobControllerConfig(org.w3c.dom.Element controllerConfigElement)
controllerConfigElement
- XML DOM Element represents the <job-controller> element.
ConfigurationException
- If controller class name not defined or required controller properties missing.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |