[jboss-cvs] jboss-seam/src/main/org/jboss/seam/annotations ...
Gavin King
gavin.king at jboss.com
Wed Jul 12 16:45:00 EDT 2006
User: gavin
Date: 06/07/12 16:45:00
Modified: src/main/org/jboss/seam/annotations End.java EndTask.java
Log:
added beforeRedirect to @End
Revision Changes Path
1.4 +10 -1 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.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- End.java 31 Dec 2005 09:08:36 -0000 1.3
+++ End.java 12 Jul 2006 20:45:00 -0000 1.4
@@ -1,4 +1,4 @@
-//$Id: End.java,v 1.3 2005/12/31 09:08:36 gavin Exp $
+//$Id: End.java,v 1.4 2006/07/12 20:45:00 gavin Exp $
package org.jboss.seam.annotations;
import static java.lang.annotation.ElementType.METHOD;
@@ -26,4 +26,13 @@
* outcome except for the null (redisplay) outcome.
*/
String[] ifOutcome() default {};
+ /**
+ * Should the conversation be destroyed before any
+ * redirect? (The default behavior is to propagate
+ * the conversation across the redirect and then
+ * destroy it at the end of the redirected request.)
+ *
+ * @return false by default
+ */
+ boolean beforeRedirect() default false;
}
1.3 +10 -0 jboss-seam/src/main/org/jboss/seam/annotations/EndTask.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: EndTask.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/EndTask.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- EndTask.java 31 Dec 2005 09:08:36 -0000 1.2
+++ EndTask.java 12 Jul 2006 20:45:00 -0000 1.3
@@ -42,4 +42,14 @@
*/
String transition() default "";
+ /**
+ * Should the conversation be destroyed before any
+ * redirect? (The default behavior is to propagate
+ * the conversation across the redirect and then
+ * destroy it at the end of the redirected request.)
+ *
+ * @return false by default
+ */
+ boolean beforeRedirect() default false;
+
}
More information about the jboss-cvs-commits
mailing list