[Batchserver-cvs] batchserver/src/org/jmonks/batchserver/framework/config/xml XMLJobConfig.java,1.8,
Brought to you by:
suresh_pragada
From: Suresh <sur...@us...> - 2006-03-17 14:04:50
|
Update of /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework/config/xml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13438 Modified Files: XMLJobConfig.java XMLJobConfigFactory.java Log Message: no message Index: XMLJobConfig.java =================================================================== RCS file: /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework/config/xml/XMLJobConfig.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** XMLJobConfig.java 14 Mar 2006 23:05:25 -0000 1.8 --- XMLJobConfig.java 17 Mar 2006 14:04:38 -0000 1.9 *************** *** 32,35 **** --- 32,38 ---- * <property key="basic-job-controller-restart">true</property> * </job-controller> + * <job-logging-config> + * <logger-config logger-name="com.mycompany.batch" logger-level="ERROR"/> + * </job-logging-config> * </job-config> * </pre> Index: XMLJobConfigFactory.java =================================================================== RCS file: /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework/config/xml/XMLJobConfigFactory.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** XMLJobConfigFactory.java 14 Mar 2006 23:05:25 -0000 1.8 --- XMLJobConfigFactory.java 17 Mar 2006 14:04:38 -0000 1.9 *************** *** 77,83 **** /** ! * This constructor initializes the factory by accepting the required properties ! * map as a parameter to the constructor. If it doesnt find any required properties ! * to initialize the factory, throws ConfigurationException with the appropriate error code. * * @param configFactoryProps Map consists of all the properties defined for this factory. --- 77,83 ---- /** ! * This method initializes the factory by accepting the required properties ! * from the input map. If it doesnt find any required properties ! * to initialize the factory, throws ConfigurationException with the appropriate error message. * * @param configFactoryProps Map consists of all the properties defined for this factory. *************** *** 85,91 **** * @throws ConfigurationException If required properties are missing. */ ! public XMLJobConfigFactory(Map configFactoryProps) { ! logger.trace("Entering Constructor"); this.configFactoryProps=new HashMap(configFactoryProps); --- 85,91 ---- * @throws ConfigurationException If required properties are missing. */ ! protected void init(Map configFactoryProps) { ! logger.trace("Entering init"); this.configFactoryProps=new HashMap(configFactoryProps); *************** *** 149,153 **** } } ! logger.trace("Exiting Constructor"); } --- 149,153 ---- } } ! logger.trace("Exiting init"); } |