[jboss-cvs] jboss-seam/examples/seambay/src/org/jboss/seam/example/seambay ...
Gavin King
gavin.king at jboss.com
Wed Jun 20 13:50:51 EDT 2007
User: gavin
Date: 07/06/20 13:50:51
Modified: examples/seambay/src/org/jboss/seam/example/seambay
Aargh.java
Log:
refactored interception annotations
Revision Changes Path
1.3 +2 -3 jboss-seam/examples/seambay/src/org/jboss/seam/example/seambay/Aargh.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Aargh.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/seambay/src/org/jboss/seam/example/seambay/Aargh.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Aargh.java 17 Apr 2007 05:38:21 -0000 1.2
+++ Aargh.java 20 Jun 2007 17:50:51 -0000 1.3
@@ -1,6 +1,5 @@
package org.jboss.seam.example.seambay;
-import static org.jboss.seam.InterceptionType.NEVER;
import static org.jboss.seam.ScopeType.APPLICATION;
import java.util.Calendar;
@@ -15,7 +14,7 @@
import org.jboss.seam.Component;
import org.jboss.seam.annotations.Create;
-import org.jboss.seam.annotations.Intercept;
+import org.jboss.seam.annotations.intercept.BypassInterceptors;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.Startup;
@@ -30,7 +29,7 @@
@Startup
@Name("aargh")
@Scope(APPLICATION)
- at Intercept(NEVER)
+ at BypassInterceptors
public class Aargh
{
@Create
More information about the jboss-cvs-commits
mailing list