Update of /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework/config/db
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30411/config/db
Added Files:
DBBasicJobControllerConfig.java DBJobConfig.java
DBJobConfigFactory.java DBJobControllerConfig.java
DBPoolJobControllerConfig.java
Log Message:
Submitting the class skeltons
--- NEW FILE: DBJobConfig.java ---
/*
* DBJobConfig.java
*
* Created on March 2, 2006, 11:58 AM
*
* To change this template, choose Tools | Options and locate the template under
* the Source Creation and Management node. Right-click the template and choose
* Open. You can then make changes to the template in the Source Editor.
*/
package org.jmonks.batchserver.framework.config.db;
import org.jmonks.batchserver.framework.config.JobConfig;
/**
*
* @author Suresh Pragada
*/
public class DBJobConfig extends JobConfig
{
/** Creates a new instance of DBJobConfig */
DBJobConfig(Object dbValueToLoadJobConfig)
{
}
}
--- NEW FILE: DBJobConfigFactory.java ---
/*
* DBJobConfigFactory.java
*
* Created on March 2, 2006, 12:07 PM
*
* To change this template, choose Tools | Options and locate the template under
* the Source Creation and Management node. Right-click the template and choose
* Open. You can then make changes to the template in the Source Editor.
*/
package org.jmonks.batchserver.framework.config.db;
import java.util.Map;
import org.jmonks.batchserver.framework.config.JobConfig;
import org.jmonks.batchserver.framework.config.JobConfigFactory;
/**
*
* @author Suresh Pragada
*/
public class DBJobConfigFactory extends JobConfigFactory
{
private Map mConfigFactoryProps=null;
/** Creates a new instance of DBJobConfigFactory */
public DBJobConfigFactory(Map configFactoryProps)
{
}
public JobConfig getJobConfig(String jobName)
{
/**
* Look up job configuration in database and pass that to DBJobConfig.
*/
return new DBJobConfig(null);
}
}
--- NEW FILE: DBBasicJobControllerConfig.java ---
/*
* DBBasicJobControllerConfig.java
*
* Created on March 2, 2006, 1:55 PM
*
* To change this template, choose Tools | Options and locate the template under
* the Source Creation and Management node. Right-click the template and choose
* Open. You can then make changes to the template in the Source Editor.
*/
package org.jmonks.batchserver.framework.config.db;
import org.jmonks.batchserver.framework.config.BasicJobControllerConfig;
/**
*
* @author Suresh Pragada
*/
public class DBBasicJobControllerConfig extends BasicJobControllerConfig
{
/** Creates a new instance of DBBasicJobControllerConfig */
DBBasicJobControllerConfig(Object dbValueToReadControllerConfig)
{
}
}
--- NEW FILE: DBPoolJobControllerConfig.java ---
/*
* DBPoolJobControllerConfig.java
*
* Created on March 2, 2006, 1:41 PM
*
* To change this template, choose Tools | Options and locate the template under
* the Source Creation and Management node. Right-click the template and choose
* Open. You can then make changes to the template in the Source Editor.
*/
package org.jmonks.batchserver.framework.config.db;
import org.jmonks.batchserver.framework.config.PoolJobControllerConfig;
/**
*
* @author Suresh Pragada
*/
public class DBPoolJobControllerConfig extends PoolJobControllerConfig
{
/** Creates a new instance of DBPoolJobControllerConfig */
DBPoolJobControllerConfig(Object dbValueToReadControllerConfig)
{
/**
* Load all the properties defined in base classes using the object passed
* as input.
*/
}
}
--- NEW FILE: DBJobControllerConfig.java ---
/*
* DBJobControllerConfig.java
*
* Created on March 2, 2006, 1:22 PM
*
* To change this template, choose Tools | Options and locate the template under
* the Source Creation and Management node. Right-click the template and choose
* Open. You can then make changes to the template in the Source Editor.
*/
package org.jmonks.batchserver.framework.config.db;
import org.jmonks.batchserver.framework.config.JobControllerConfig;
/**
*
* @author Suresh Pragada
*/
public abstract class DBJobControllerConfig extends JobControllerConfig
{
public static JobControllerConfig getJobControllerConfig(Object dbValueToReadControllerConfig)
{
return null;
}
}
|