[jboss-cvs] jboss-seam/src/main/org/jboss/seam/annotations ...
Gavin King
gavin.king at jboss.com
Thu Oct 19 20:35:34 EDT 2006
User: gavin
Date: 06/10/19 20:35:34
Modified: src/main/org/jboss/seam/annotations Begin.java End.java
Log:
various improvements
Revision Changes Path
1.9 +9 -7 jboss-seam/src/main/org/jboss/seam/annotations/Begin.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Begin.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Begin.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- Begin.java 13 Jul 2006 00:58:55 -0000 1.8
+++ Begin.java 20 Oct 2006 00:35:34 -0000 1.9
@@ -1,4 +1,4 @@
-//$Id: Begin.java,v 1.8 2006/07/13 00:58:55 gavin Exp $
+//$Id: Begin.java,v 1.9 2006/10/20 00:35:34 gavin Exp $
package org.jboss.seam.annotations;
import static java.lang.annotation.ElementType.METHOD;
@@ -9,11 +9,13 @@
import java.lang.annotation.Target;
/**
- * Marks a method as beginning a conversation, if none
- * exists, and if the method returns without throwing
- * an exception. If a list of outcomes is specified,
- * the conversation begins only if the outcome is in
- * the list.
+ * Marks a method as beginning a long-running conversation,
+ * if none exists, and if the method returns a non-null value
+ * without throwing an exception. If a list of outcomes is
+ * specified, the conversation begins only if the outcome is
+ * in the list. A null outcome never begins a conversation.
+ * If the method is of type void, a conversation always
+ * begins.
*
* @author Gavin King
*/
1.5 +7 -5 jboss-seam/src/main/org/jboss/seam/annotations/End.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: End.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/End.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- End.java 12 Jul 2006 20:45:00 -0000 1.4
+++ End.java 20 Oct 2006 00:35:34 -0000 1.5
@@ -1,4 +1,4 @@
-//$Id: End.java,v 1.4 2006/07/12 20:45:00 gavin Exp $
+//$Id: End.java,v 1.5 2006/10/20 00:35:34 gavin Exp $
package org.jboss.seam.annotations;
import static java.lang.annotation.ElementType.METHOD;
@@ -10,10 +10,12 @@
/**
* Marks a method as ending a conversation, if the
- * method returns without throwing an exception. If
- * a list of outcomes is specified, the conversation
- * ends only if the outcome is in the list. A null
- * outcome never ends the conversation.
+ * method returns a non-null outcome without throwing
+ * an exception. If a list of outcomes is specified,
+ * the conversation ends only if the outcome is in
+ * the list. A null outcome never ends the conversation.
+ * If the method is of type void, the conversation always
+ * ends.
*
* @author Gavin King
*/
More information about the jboss-cvs-commits
mailing list