vgritsenko 2003/03/19 17:24:57
Modified: src/java/org/apache/cocoon/components/flow
ContinuationsManager.java
Log:
align code
Revision Changes Path
1.3 +40 -41
cocoon-2.1/src/java/org/apache/cocoon/components/flow/ContinuationsManager.java
Index: ContinuationsManager.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/flow/ContinuationsManager.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ContinuationsManager.java 16 Mar 2003 17:49:11 -0000 1.2
+++ ContinuationsManager.java 20 Mar 2003 01:24:57 -0000 1.3
@@ -51,7 +51,7 @@
* The continuation manager maintains a forrest of [EMAIL PROTECTED]
* WebContinuation} trees. Each tree defines the flow of control for a
* user within the application.
- *
+ *
* A <code>WebContinuation</code> is created for a continuation object
* from the scripting language used. A continuation object in the
* implementation of the scripting language is an opaque object
@@ -63,46 +63,45 @@
* @see WebContinuation
* @version CVS $Id$
*/
-public interface ContinuationsManager
-{
- public final String ROLE = ContinuationsManager.class.getName();
+public interface ContinuationsManager {
+ public final String ROLE = ContinuationsManager.class.getName();
- /**
- * Create a <code>WebContinuation</code> object given a native
- * continuation object and its parent. If the parent continuation is
- * null, the <code>WebContinuation</code> returned becomes the root
- * of a tree in the forrest.
- *
- * @param kont an <code>Object</code> value
- * @param parentKont a <code>WebContinuation</code> value
- * @param timeToLive an <code>int</code> value indicating how long
- * in seconds this continuation will live in the server if not
- * accessed
- * @return a <code>WebContinuation</code> value
- * @see WebContinuation
- */
- public WebContinuation createWebContinuation(Object kont,
- WebContinuation parentKont,
- int timeToLive);
+ /**
+ * Create a <code>WebContinuation</code> object given a native
+ * continuation object and its parent. If the parent continuation is
+ * null, the <code>WebContinuation</code> returned becomes the root
+ * of a tree in the forrest.
+ *
+ * @param kont an <code>Object</code> value
+ * @param parentKont a <code>WebContinuation</code> value
+ * @param timeToLive an <code>int</code> value indicating how long
+ * in seconds this continuation will live in the server if not
+ * accessed
+ * @return a <code>WebContinuation</code> value
+ * @see WebContinuation
+ */
+ public WebContinuation createWebContinuation(Object kont,
+ WebContinuation parentKont,
+ int timeToLive);
- /**
- * Invalidates a <code>WebContinuation</code>. This effectively
- * means that the continuation object associated with it will no
- * longer be accessible from Web pages. Invalidating a
- * <code>WebContinuation</code> invalidates all the
- * <code>WebContinuation</code>s which are children of it.
- *
- * @param k a <code>WebContinuation</code> value
- */
- public void invalidateWebContinuation(WebContinuation k);
+ /**
+ * Invalidates a <code>WebContinuation</code>. This effectively
+ * means that the continuation object associated with it will no
+ * longer be accessible from Web pages. Invalidating a
+ * <code>WebContinuation</code> invalidates all the
+ * <code>WebContinuation</code>s which are children of it.
+ *
+ * @param k a <code>WebContinuation</code> value
+ */
+ public void invalidateWebContinuation(WebContinuation k);
- /**
- * Given a <code>WebContinuation</code> id, retrieve the associated
- * <code>WebContinuation</code> object.
- *
- * @param id a <code>String</code> value
- * @return a <code>WebContinuation</code> object, or null if no such
- * <code>WebContinuation</code> could be found.
- */
- public WebContinuation lookupWebContinuation(String id);
+ /**
+ * Given a <code>WebContinuation</code> id, retrieve the associated
+ * <code>WebContinuation</code> object.
+ *
+ * @param id a <code>String</code> value
+ * @return a <code>WebContinuation</code> object, or null if no such
+ * <code>WebContinuation</code> could be found.
+ */
+ public WebContinuation lookupWebContinuation(String id);
}