joerg 2003/12/22 05:25:12
Modified: src/blocks/cron/java/org/apache/cocoon/components/cron
TestCronJob.java
Log:
back on the track ... let's start with clean up
removed Composable as this class is already Serializable through the hierarchy
furthermore ComponentManager was not read
Revision Changes Path
1.4 +2 -12
cocoon-2.1/src/blocks/cron/java/org/apache/cocoon/components/cron/TestCronJob.java
Index: TestCronJob.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/cron/java/org/apache/cocoon/components/cron/TestCronJob.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TestCronJob.java 19 Dec 2003 09:01:43 -0000 1.3
+++ TestCronJob.java 22 Dec 2003 13:25:12 -0000 1.4
@@ -56,9 +56,6 @@
import java.util.Date;
import java.util.Map;
-import org.apache.avalon.framework.component.ComponentException;
-import org.apache.avalon.framework.component.ComponentManager;
-import org.apache.avalon.framework.component.Composable;
import org.apache.avalon.framework.configuration.Configurable;
import org.apache.avalon.framework.configuration.Configuration;
import org.apache.avalon.framework.configuration.ConfigurationException;
@@ -75,7 +72,7 @@
* @since 2.1.1
*/
public class TestCronJob extends AbstractPipelineCallingCronJob
- implements CronJob, Configurable, ConfigurableCronJob, Composable {
+ implements CronJob, Configurable, ConfigurableCronJob {
/** Parameter key for the message */
public static final String PARAMETER_MESSAGE =
"TestCronJob.Parameter.Message";
@@ -94,13 +91,6 @@
/** The pipeline to be called */
private String pipeline = null;
-
- /** The service manager */
- private ComponentManager manager;
-
- public void compose( ComponentManager manager) throws ComponentException
{
- this.manager = manager;
- }
/* (non-Javadoc)
* @see
org.apache.avalon.framework.configuration.Configurable#configure(org.apache.avalon.framework.configuration.Configuration)