Update of /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework/config
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12115
Modified Files:
framework-config.xml JobConfig.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.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** JobConfig.java 10 Mar 2006 08:14:51 -0000 1.5
--- JobConfig.java 11 Mar 2006 02:16:38 -0000 1.6
***************
*** 66,70 ****
* @return Returns true, if job is active, false otherwise.
*/
! public boolean isActive()
{
return this.jobStatus;
--- 66,70 ----
* @return Returns true, if job is active, false otherwise.
*/
! public boolean getJobStatus()
{
return this.jobStatus;
Index: framework-config.xml
===================================================================
RCS file: /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework/config/framework-config.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** framework-config.xml 10 Mar 2006 08:14:51 -0000 1.8
--- framework-config.xml 11 Mar 2006 02:16:38 -0000 1.9
***************
*** 1,21 ****
<framework-config>
! <job-config-factory-config job-config-factory-class-name="org.jmonks.batchserver.framework.config.xml.XMLJobConfigFactory">
! <!-- <property key="job-config-file-absolute-location">/batchserver/batch-config.xml</property> -->
<property key="job-config-file-classpath-location">batch-config.xml</property>
! <!--
! Following is the another way to configure the XML Job configuration.
! <property key="job-config-file-classpath-location">batch-config.xml</property>
! -->
! </job-config-factory-config>
<!--
! Following is the sample configuration to read the job configuration from the database.
! <job-config-reader-config config-reader-class-name="org.jmonks.batchserver.framework.config.DBJobConfigReader">
<property key="config-db-jdbc-driver-class-name">oracle.jdbc.driver.OracleDriver</property>
! <property key="config-db-url">jdbc:oracle:thin:@hostname:1521:instname</property>
<property key="config-db-username">scott</property>
<property key="config-db-password">tiger</property>
! </job-config-reader-config>
! -->
<repository-config repository-class-name="org.jmonks.batchserver.framework.DefaultRepository">
<property key="repository-location">/batchserver/repository</property>
--- 1,16 ----
<framework-config>
! <job-config-factory-config job-config-factory-class-name="org.jmonks.batchserver.framework.config.xml.XMLJobConfigFactory">
<property key="job-config-file-classpath-location">batch-config.xml</property>
! </job-config-factory-config>
<!--
! Following is the sample configuration to read the job configuration from the database.
! <job-config-factory-config job-config-factory-class-name="org.jmonks.batchserver.framework.config.db.DBJobConfigFactory">
<property key="config-db-jdbc-driver-class-name">oracle.jdbc.driver.OracleDriver</property>
! <property key="config-db-url">jdbc:oracle:thin:@hostname:1521:instancename</property>
<property key="config-db-username">scott</property>
<property key="config-db-password">tiger</property>
! </job-config-factory-config> -->
!
<repository-config repository-class-name="org.jmonks.batchserver.framework.DefaultRepository">
<property key="repository-location">/batchserver/repository</property>
|