Author: shane.bryzak(a)jboss.com
Date: 2008-02-19 08:44:31 -0500 (Tue, 19 Feb 2008)
New Revision: 7444
Added:
trunk/src/remoting/org/jboss/seam/annotations/
trunk/src/remoting/org/jboss/seam/annotations/remoting/
trunk/src/remoting/org/jboss/seam/annotations/remoting/WebRemote.java
trunk/src/remoting/org/jboss/seam/annotations/remoting/package-info.java
Removed:
trunk/src/main/org/jboss/seam/annotations/remoting/
Log:
moved remoting annotations to remoting package
Added: trunk/src/remoting/org/jboss/seam/annotations/remoting/WebRemote.java
===================================================================
--- trunk/src/remoting/org/jboss/seam/annotations/remoting/WebRemote.java
(rev 0)
+++ trunk/src/remoting/org/jboss/seam/annotations/remoting/WebRemote.java 2008-02-19
13:44:31 UTC (rev 7444)
@@ -0,0 +1,24 @@
+package org.jboss.seam.annotations.remoting;
+
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+/**
+ * Indicates that the annotated method is accessible via the remoting framework.
+ *
+ * @author Shane Bryzak
+ */
+@Target(METHOD)
+@Documented
+@Retention(RUNTIME)
+public @interface WebRemote
+{
+ /**
+ * Specifies a list of paths to exclude from the result's object graph
+ */
+ String[] exclude() default {};
+}
Added: trunk/src/remoting/org/jboss/seam/annotations/remoting/package-info.java
===================================================================
--- trunk/src/remoting/org/jboss/seam/annotations/remoting/package-info.java
(rev 0)
+++ trunk/src/remoting/org/jboss/seam/annotations/remoting/package-info.java 2008-02-19
13:44:31 UTC (rev 7444)
@@ -0,0 +1,5 @@
+/**
+ * Annotations (well, one annotation) for use with Seam remoting.
+ */
+package org.jboss.seam.annotations.remoting;
+
Show replies by date