[Batchserver-cvs] batchserver/src/org/jmonks/batchserver/framework/config JobConfig.java, 1.7, 1.8
Brought to you by:
suresh_pragada
From: Suresh <sur...@us...> - 2006-09-14 23:05:02
|
Update of /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework/config In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv10276/config Modified Files: JobConfig.java JobConfigFactory.java Log Message: no message Index: JobConfig.java =================================================================== RCS file: /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework/config/JobConfig.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** JobConfig.java 14 Mar 2006 05:45:25 -0000 1.7 --- JobConfig.java 14 Sep 2006 23:04:59 -0000 1.8 *************** *** 16,21 **** * <p> * JobConfig represents the configuration needed to execute the job. This provides ! * interface to the different implementations of JobConfig. Each factory will provide ! * its own implementation of JobConfig. * </p> * --- 16,21 ---- * <p> * JobConfig represents the configuration needed to execute the job. This provides ! * interface to the different implementations of JobConfig. Each factory will read ! * the configuration from its source and creates JobConfig. * </p> * Index: JobConfigFactory.java =================================================================== RCS file: /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework/config/JobConfigFactory.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** JobConfigFactory.java 17 Mar 2006 05:14:13 -0000 1.7 --- JobConfigFactory.java 14 Sep 2006 23:04:59 -0000 1.8 *************** *** 10,16 **** package org.jmonks.batchserver.framework.config; - - import java.lang.reflect.Constructor; - import java.lang.reflect.InvocationTargetException; import java.util.Map; import org.apache.log4j.Logger; --- 10,13 ---- *************** *** 18,25 **** /** * <p> ! * This class returns the factory class which in turn returns the job configuration ! * objects from the defined factory. This class determines which factory needs to * be returned is based on the configFactoryClassName defined JobConfigFactoryConfig ! * object passed as input parameter. This class is based on the AbstractFacotry pattern. * </p> * <p> --- 15,22 ---- /** * <p> ! * JobConfigFactory returns the factory class instance which in turn returns the job configuration ! * objects from the designated factory. This class determines the factory needs to * be returned is based on the configFactoryClassName defined JobConfigFactoryConfig ! * object passed as input parameter. * </p> * <p> *************** *** 43,47 **** /** ! * This factory method will return the appropriated job configuration factory based * on the input values in JobConfigFactoryConfig object. This looks for the factory class * name in the given object, instantiates and return that factory. --- 40,44 ---- /** ! * This factory method will return the appropriate job configuration factory based * on the input values in JobConfigFactoryConfig object. This looks for the factory class * name in the given object, instantiates and return that factory. *************** *** 112,116 **** * Method to initialize the factory using properies defined for this factory * in framework configuration file. All the properties defined for this ! * configuration factory will be passed as map to this method. * * @param configFactoryProps Map consists of all the properties defined for this factory. --- 109,114 ---- * Method to initialize the factory using properies defined for this factory * in framework configuration file. All the properties defined for this ! * configuration factory will be passed as map to this method as soon as the ! * factory is instantiated. * * @param configFactoryProps Map consists of all the properties defined for this factory. |