mpo 2003/08/26 02:05:52
Modified: src/java/org/apache/cocoon/components/flow/javascript
JSWebContinuation.java
src/java/org/apache/cocoon/components/flow/javascript/fom
FOM_Cocoon.java
Log:
Setting ContinuationsDisposer to null for those implementattions that do not
need it.
PR:
Obtained from:
Submitted by:
Reviewed by:
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.3 +2 -2
cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript/JSWebContinuation.java
Index: JSWebContinuation.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript/JSWebContinuation.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- JSWebContinuation.java 16 Mar 2003 17:49:12 -0000 1.2
+++ JSWebContinuation.java 26 Aug 2003 09:05:52 -0000 1.3
@@ -107,7 +107,7 @@
JSWebContinuation jswk = new JSWebContinuation();
WebContinuation wk
- = contMgr.createWebContinuation(kont, pwk, ttl);
+ = contMgr.createWebContinuation(kont, pwk, ttl, null);
wk.setUserObject(jswk);
jswk.cocoon = cocoon;
1.10 +5 -3
cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_Cocoon.java
Index: FOM_Cocoon.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript/fom/FOM_Cocoon.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- FOM_Cocoon.java 6 Aug 2003 15:54:13 -0000 1.9
+++ FOM_Cocoon.java 26 Aug 2003 09:05:52 -0000 1.10
@@ -153,7 +153,8 @@
wk = lastContinuation =
contMgr.createWebContinuation(continuation,
lastContinuation,
- 0);
+ 0,
+ null);
}
String redUri = uri;
@@ -964,7 +965,8 @@
componentManager.lookup(ContinuationsManager.ROLE);
wk = contMgr.createWebContinuation(unwrap(k),
(WebContinuation)(parent == null
? null : parent.getWebContinuation()),
- timeToLive);
+ timeToLive,
+ null);
FOM_WebContinuation result = new FOM_WebContinuation(wk);
result.setParentScope(getParentScope());
result.setPrototype(getClassPrototype(getParentScope(),