[webbeans-commits] Webbeans SVN: r123 - ri/trunk/webbeans-api/src/main/java/javax/webbeans.
webbeans-commits at lists.jboss.org
webbeans-commits at lists.jboss.org
Mon Oct 20 16:32:25 EDT 2008
Author: gavin.king at jboss.com
Date: 2008-10-20 16:32:25 -0400 (Mon, 20 Oct 2008)
New Revision: 123
Added:
ri/trunk/webbeans-api/src/main/java/javax/webbeans/Model.java
Log:
add Model
Added: ri/trunk/webbeans-api/src/main/java/javax/webbeans/Model.java
===================================================================
--- ri/trunk/webbeans-api/src/main/java/javax/webbeans/Model.java (rev 0)
+++ ri/trunk/webbeans-api/src/main/java/javax/webbeans/Model.java 2008-10-20 20:32:25 UTC (rev 123)
@@ -0,0 +1,21 @@
+package javax.webbeans;
+
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+ at Named
+ at RequestScoped
+ at Stereotype
+ at Target( { TYPE, METHOD })
+ at Retention(RUNTIME)
+/**
+ * A stereotype for MVC model objects
+ *
+ * @author Gavin King
+ */
+public @interface Model {
+}
\ No newline at end of file
More information about the weld-commits
mailing list