[seam-commits] Seam SVN: r12356 - branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Apr 1 09:40:29 EDT 2010


Author: manaRH
Date: 2010-04-01 09:40:29 -0400 (Thu, 01 Apr 2010)
New Revision: 12356

Modified:
   branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Jms.xml
Log:
JBPAPP-1835 - removed annotation from ejb local interface

Modified: branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Jms.xml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Jms.xml	2010-04-01 10:44:03 UTC (rev 12355)
+++ branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Jms.xml	2010-04-01 13:40:29 UTC (rev 12356)
@@ -81,19 +81,12 @@
         </para>
         
         <para>
-            For EJB components, we annotate the local interface to specify that a method is processed
+            For EJB components, we annotate the implementation of bean to specify that a method is processed
             asynchronously.
         </para>
         
-        <programlisting role="JAVA"><![CDATA[@Local
-public interface PaymentHandler
-{
-    @Asynchronous
-    public void processPayment(Payment payment);
-}]]></programlisting>
-
         <para>
-            (For JavaBean components we can annotate the component implementation class if we like.)
+            For JavaBean components we annotate the component implementation class.
         </para>
         
         <para>
@@ -104,6 +97,7 @@
 @Name("paymentHandler")
 public class PaymentHandlerBean implements PaymentHandler
 {
+	@Asynchronous
     public void processPayment(Payment payment)
     {
         //do some work!



More information about the seam-commits mailing list