mpo 2003/09/04 08:25:09
Modified: src/blocks/apples/java/org/apache/cocoon/components/flow/apples
ApplesProcessor.java
Log:
Use the new LifeCycleHelper so Apples themselves can decide to use either
service() or compose().
Revision Changes Path
1.8 +4 -3
cocoon-2.1/src/blocks/apples/java/org/apache/cocoon/components/flow/apples/ApplesProcessor.java
Index: ApplesProcessor.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/apples/java/org/apache/cocoon/components/flow/apples/ApplesProcessor.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ApplesProcessor.java 4 Sep 2003 13:18:13 -0000 1.7
+++ ApplesProcessor.java 4 Sep 2003 15:25:09 -0000 1.8
@@ -86,9 +86,10 @@
getLogger().debug("Pulling fresh apple through the lifecycle... |
continuationid=" + wk.getId());
- //TODO: also add the componentManager for Apples that took the other
approach
- LifecycleHelper.setupComponent(app, getLogger(), appleContext,
this.serviceManager, null, null, null);
-
+ LifecycleHelper.setupComponent( app, getLogger(), appleContext,
+ this.serviceManager, super.manager,
+ null, null, null, true);
+
processApple(params, env, app, wk);
}