[seam-commits] Seam SVN: r10706 - modules/trunk/faces/src/main/java/org/jboss/seam/faces/annotations.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Apr 29 02:03:37 EDT 2009


Author: dan.j.allen
Date: 2009-04-29 02:03:37 -0400 (Wed, 29 Apr 2009)
New Revision: 10706

Removed:
   modules/trunk/faces/src/main/java/org/jboss/seam/faces/annotations/Converter.java
   modules/trunk/faces/src/main/java/org/jboss/seam/faces/annotations/Validator.java
Log:
don't need, these are in JSF 2


Deleted: modules/trunk/faces/src/main/java/org/jboss/seam/faces/annotations/Converter.java
===================================================================
--- modules/trunk/faces/src/main/java/org/jboss/seam/faces/annotations/Converter.java	2009-04-29 06:01:57 UTC (rev 10705)
+++ modules/trunk/faces/src/main/java/org/jboss/seam/faces/annotations/Converter.java	2009-04-29 06:03:37 UTC (rev 10706)
@@ -1,32 +0,0 @@
-package org.jboss.seam.faces.annotations;
-
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-/**
- * Allows a Seam component to act as a JSF converter. The
- * annotated class must be a Seam component, and must
- * implement javax.faces.convert.Converter.
- * 
- * @author Gavin King
- *
- */
- at Target(TYPE)
- at Retention(RUNTIME)
- at Documented
-public @interface Converter
-{
-   /**
-    * The JSF converter id. Default to the component name.
-    */
-   String id() default "";
-   /**
-    * If specified, register this component as the default
-    * converter for a type.
-    */
-   Class forClass() default void.class;
-}

Deleted: modules/trunk/faces/src/main/java/org/jboss/seam/faces/annotations/Validator.java
===================================================================
--- modules/trunk/faces/src/main/java/org/jboss/seam/faces/annotations/Validator.java	2009-04-29 06:01:57 UTC (rev 10705)
+++ modules/trunk/faces/src/main/java/org/jboss/seam/faces/annotations/Validator.java	2009-04-29 06:03:37 UTC (rev 10706)
@@ -1,27 +0,0 @@
-package org.jboss.seam.faces.annotations;
-
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-/**
- * Allows a Seam component to act as a JSF validator. The
- * annotated class must be a Seam component, and must
- * implement javax.faces.validator.Validator.
- * 
- * @author Gavin King
- *
- */
- at Target(TYPE)
- at Retention(RUNTIME)
- at Documented
-public @interface Validator
-{
-   /**
-    * The JSF validator id. Default to the component name.
-    */
-   String id() default "";
-}




More information about the seam-commits mailing list