[jboss-cvs] jboss-seam/src/main/org/jboss/seam/annotations ...
Gavin King
gavin.king at jboss.com
Mon Oct 9 14:44:05 EDT 2006
User: gavin
Date: 06/10/09 14:44:05
Modified: src/main/org/jboss/seam/annotations Asynchronous.java
Log:
javadoc
Revision Changes Path
1.2 +22 -0 jboss-seam/src/main/org/jboss/seam/annotations/Asynchronous.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Asynchronous.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Asynchronous.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- Asynchronous.java 9 Oct 2006 08:30:27 -0000 1.1
+++ Asynchronous.java 9 Oct 2006 18:44:05 -0000 1.2
@@ -7,6 +7,28 @@
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
+/**
+ * Marks a method as an asynchronous method, to be
+ * dispatched by the EJB3 TimerService.
+ *
+ * If the method returns Timer, the return value
+ * will be the Timer used for dispatching the
+ * method call. Otherwise, the method should return
+ * void.
+ *
+ * Note that asynchronous calls are processed in
+ * a different EVENT, SESSION and CONVERSATION
+ * context to the caller, so the actual recieving
+ * object may be a different instance of the
+ * component to the object that was called.
+ *
+ * @author Gavin King
+ *
+ * @see org.jboss.seam.annotations.timer.Expiration
+ * @see org.jboss.seam.annotations.timer.Duration
+ * @see org.jboss.seam.annotations.timer.IntervalDuration
+ *
+ */
@Target(METHOD)
@Retention(RUNTIME)
@Documented
More information about the jboss-cvs-commits
mailing list