[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Gavin King
gavin.king at jboss.com
Mon Oct 16 07:51:11 EDT 2006
User: gavin
Date: 06/10/16 07:51:11
Modified: doc/reference/en/modules annotations.xml components.xml
jms.xml
Log:
minor
Revision Changes Path
1.44 +5 -1 jboss-seam/doc/reference/en/modules/annotations.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: annotations.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/annotations.xml,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- annotations.xml 16 Oct 2006 11:23:14 -0000 1.43
+++ annotations.xml 16 Oct 2006 11:51:11 -0000 1.44
@@ -1060,9 +1060,13 @@
<section>
<title>Annotations for asynchronicity</title>
<para>
- The following annotations are used to declare an asynchronous method:
+ The following annotations are used to declare an asynchronous method, for
+ example:
</para>
+ <programlisting><![CDATA[@Asynchronous public void scheduleAlert(Alert alert, @Expiration Date date) { ... }]]></programlisting>
+ <programlisting><![CDATA[@Asynchronous public Timer scheduleAlerts(Alert alert, @Expiration Date date, @IntervalDuration long interval) { ... }]]></programlisting>
+
<variablelist spacing="compact">
<varlistentry id="asynchronous-annotation">
<term><literal>@Asynchronous</literal></term>
1.42 +2 -2 jboss-seam/doc/reference/en/modules/components.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: components.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/components.xml,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- components.xml 16 Oct 2006 11:23:14 -0000 1.41
+++ components.xml 16 Oct 2006 11:51:11 -0000 1.42
@@ -802,13 +802,13 @@
</listitem>
<listitem>
<para>
- <literal>initTask(Long id)</literal> — associate the task with
+ <literal>resumeTask(Long id)</literal> — associate the task with
the given id with the current conversation.
</para>
</listitem>
<listitem>
<para>
- <literal>initProcess(Long id)</literal> — associate the process
+ <literal>resumeProcess(Long id)</literal> — associate the process
with the given id with the current conversation.
</para>
</listitem>
1.6 +3 -3 jboss-seam/doc/reference/en/modules/jms.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: jms.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/jms.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- jms.xml 16 Oct 2006 11:23:14 -0000 1.5
+++ jms.xml 16 Oct 2006 11:51:11 -0000 1.6
@@ -80,13 +80,13 @@
public class PaymentHandler
{
@Asynchronous
- public void processScheduledPayment(Payment payment, @Expiration date)
+ public void processScheduledPayment(Payment payment, @Expiration Date date)
{
//do some work!
}
@Asynchronous
- public void processRecurringPayment(Payment payment, @Expiration date, @IntervalDuration interval)
+ public void processRecurringPayment(Payment payment, @Expiration Date date, @IntervalDuration Date interval)
{
//do some work!
}
@@ -124,7 +124,7 @@
@In Timer timer;
@Asynchronous
- public Timer processScheduledPayment(Payment payment, @Expiration date)
+ public Timer processScheduledPayment(Payment payment, @Expiration Date date)
{
//do some work!
More information about the jboss-cvs-commits
mailing list