[jboss-cvs] jboss-seam/examples/ui/src/org/jboss/seam/example/ui ...
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/ui/src/org/jboss/seam/example/ui AgeConverter.java
Log:
refactored interception annotations
Revision Changes Path
1.3 +3 -4 jboss-seam/examples/ui/src/org/jboss/seam/example/ui/AgeConverter.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AgeConverter.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/ui/src/org/jboss/seam/example/ui/AgeConverter.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- AgeConverter.java 5 Apr 2007 16:20:00 -0000 1.2
+++ AgeConverter.java 20 Jun 2007 17:50:51 -0000 1.3
@@ -1,17 +1,16 @@
package org.jboss.seam.example.ui;
-import static org.jboss.seam.InterceptionType.NEVER;
-
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.ConverterException;
-import org.jboss.seam.annotations.Intercept;
+import org.jboss.seam.annotations.intercept.BypassInterceptors;
+import org.jboss.seam.annotations.intercept.Intercept;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.jsf.Converter;
@Name("ageConverter")
- at Intercept(NEVER)
+ at BypassInterceptors
@Converter
public class AgeConverter implements javax.faces.convert.Converter
{
More information about the jboss-cvs-commits
mailing list