Update of /cvsroot/batchserver/batchserver/src/org/jmonks/batch/framework/controller/basic
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv3817
Modified Files:
BasicJobProcessor.java
Log Message:
no message
Index: BasicJobProcessor.java
===================================================================
RCS file: /cvsroot/batchserver/batchserver/src/org/jmonks/batch/framework/controller/basic/BasicJobProcessor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** BasicJobProcessor.java 15 Sep 2006 20:06:39 -0000 1.1
--- BasicJobProcessor.java 20 Sep 2006 02:43:13 -0000 1.2
***************
*** 9,12 ****
--- 9,23 ----
* BasicJobProcessor lets job developers to implement their business logic
* in the process method and this method will be executed by the BasicJobController.
+ * <br>
+ * <pre>
+ * public class MyBasicJobProcessor extends BasicJobProcessor
+ * {
+ * public ErrorCode process(JobContext jobContext)
+ * {
+ * //Perform the business logic.
+ * return ErrorCode.JOB_COMPLETED_SUCCESSFULLY;
+ * }
+ * }
+ * </pre>
* </p>
*
***************
*** 129,143 ****
* Does the processing and return the appropriate error code. Properties
* configured for this job processor can be retrieved from the JobContext.
- * <br>
- * <pre>
- * public class MyBasicJobProcessor extends BasicJobProcessor
- * {
- * public ErrorCode process(JobContext jobContext)
- * {
- * //Perform the business logic.
- * return ErrorCode.JOB_COMPLETED_SUCCESSFULLY;
- * }
- * }
- * </pre>
* </p>
*
--- 140,143 ----
|