[seam-commits] Seam SVN: r10730 - examples/trunk/booking/ejb-jar/src/main/java/org/jboss/seam/examples/booking.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Thu Apr 30 03:49:15 EDT 2009
Author: dan.j.allen
Date: 2009-04-30 03:49:15 -0400 (Thu, 30 Apr 2009)
New Revision: 10730
Added:
examples/trunk/booking/ejb-jar/src/main/java/org/jboss/seam/examples/booking/Registered.java
Log:
add binding type for registered entities
Added: examples/trunk/booking/ejb-jar/src/main/java/org/jboss/seam/examples/booking/Registered.java
===================================================================
--- examples/trunk/booking/ejb-jar/src/main/java/org/jboss/seam/examples/booking/Registered.java (rev 0)
+++ examples/trunk/booking/ejb-jar/src/main/java/org/jboss/seam/examples/booking/Registered.java 2009-04-30 07:49:15 UTC (rev 10730)
@@ -0,0 +1,35 @@
+package org.jboss.seam.examples.booking;
+
+import static java.lang.annotation.ElementType.FIELD;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.PARAMETER;
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+import javax.inject.DeploymentType;
+import org.jboss.seam.examples.booking.model.User;
+
+/**
+ * A binding type representing something that is registererd.
+ * In this simple application the only thing that can be
+ * registered is a {@link User}.
+ *
+ * @author Dan Allen
+ */
+public
+ at Target(
+{
+ TYPE, METHOD, PARAMETER, FIELD
+})
+ at Retention(RUNTIME)
+ at Documented
+ at DeploymentType
+ at Inherited
+ at interface Registered
+{
+}
More information about the seam-commits
mailing list