[Batchserver-cvs] batchserver/src/org/jmonks/batchserver/framework JobContext.java,1.3,1.4
Brought to you by:
suresh_pragada
From: Suresh <sur...@us...> - 2006-03-22 14:21:43
|
Update of /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24889 Modified Files: JobContext.java Log Message: no message Index: JobContext.java =================================================================== RCS file: /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework/JobContext.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** JobContext.java 16 Mar 2006 05:56:31 -0000 1.3 --- JobContext.java 22 Mar 2006 14:21:31 -0000 1.4 *************** *** 14,46 **** * @since 1.0 */ ! public class JobContext { - private static JobContext context = new JobContext(); - - private Repository mRepository; - private JobContext() { } - public static org.jmonks.batchserver.framework.JobContext getInstance() - - { - return null; - - } - /** ! * Gets the repository configured for this framework. It it cannot locate * the repository or cannot access the repository, it returns null. * * @return Returns the repository configured for this framework, null, if ! * it cannot access the repository. */ ! public org.jmonks.batchserver.framework.repository.Repository getReposiotry() ! { ! return null; ! } --- 14,33 ---- * @since 1.0 */ ! public final class JobContext { private JobContext() { } /** ! * Gets the repository configured for this framework. If it cannot locate * the repository or cannot access the repository, it returns null. * * @return Returns the repository configured for this framework, null, if ! * it cannot access the repository. */ ! public static Repository getReposiotry() { ! return Repository.getRepository(); } *************** *** 49,58 **** * * @return Gets the framework configuration, null, if it cannot locate ! * the framework-config.xml file. */ ! public FrameworkConfig getFrameworkConfig() ! { ! return null; } } --- 36,44 ---- * * @return Gets the framework configuration, null, if it cannot locate ! * the framework-config.xml file. */ ! public static FrameworkConfig getFrameworkConfig() { ! return FrameworkConfig.getInstance(); } } |