[jboss-cvs] jboss-seam/src/main/org/jboss/seam/navigation ...
Gavin King
gavin.king at jboss.com
Wed Jun 20 13:45:57 EDT 2007
User: gavin
Date: 07/06/20 13:45:57
Modified: src/main/org/jboss/seam/navigation Pages.java
SafeActions.java
Log:
refactored interception annotations
Revision Changes Path
1.4 +2 -3 jboss-seam/src/main/org/jboss/seam/navigation/Pages.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Pages.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/navigation/Pages.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- Pages.java 20 Jun 2007 05:34:32 -0000 1.3
+++ Pages.java 20 Jun 2007 17:45:57 -0000 1.4
@@ -1,6 +1,5 @@
package org.jboss.seam.navigation;
-import static org.jboss.seam.InterceptionType.NEVER;
import static org.jboss.seam.annotations.Install.BUILT_IN;
import java.io.InputStream;
@@ -34,9 +33,9 @@
import org.jboss.seam.annotations.Create;
import org.jboss.seam.annotations.FlushModeType;
import org.jboss.seam.annotations.Install;
-import org.jboss.seam.annotations.Intercept;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
+import org.jboss.seam.annotations.intercept.BypassInterceptors;
import org.jboss.seam.contexts.Contexts;
import org.jboss.seam.core.Events;
import org.jboss.seam.core.Expressions;
@@ -63,7 +62,7 @@
* @author Gavin King
*/
@Scope(ScopeType.APPLICATION)
- at Intercept(NEVER)
+ at BypassInterceptors
@Name("org.jboss.seam.navigation.pages")
@Install(precedence=BUILT_IN, classDependencies="javax.faces.context.FacesContext")
public class Pages
1.3 +2 -3 jboss-seam/src/main/org/jboss/seam/navigation/SafeActions.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SafeActions.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/navigation/SafeActions.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- SafeActions.java 19 Jun 2007 20:08:13 -0000 1.2
+++ SafeActions.java 20 Jun 2007 17:45:57 -0000 1.3
@@ -1,6 +1,5 @@
package org.jboss.seam.navigation;
-import static org.jboss.seam.InterceptionType.NEVER;
import static org.jboss.seam.annotations.Install.BUILT_IN;
import java.io.BufferedReader;
@@ -16,13 +15,13 @@
import org.jboss.seam.Component;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Install;
-import org.jboss.seam.annotations.Intercept;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
+import org.jboss.seam.annotations.intercept.BypassInterceptors;
import org.jboss.seam.contexts.Contexts;
@Scope(ScopeType.APPLICATION)
- at Intercept(NEVER)
+ at BypassInterceptors
@Name("org.jboss.seam.navigation.safeActions")
@Install(precedence=BUILT_IN, classDependencies="javax.faces.context.FacesContext")
public class SafeActions
More information about the jboss-cvs-commits
mailing list