[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-4047) Bean, not interface, should be annotated as asynchronous in Seam Reference Guide

Norman Richards (JIRA) jira-events at lists.jboss.org
Wed Apr 1 16:33:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-4047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12460106#action_12460106 ] 

Norman Richards commented on JBSEAM-4047:
-----------------------------------------

For session beans, we check the interface:

   public boolean isInterceptorEnabled()
   {
      return ( getComponent().getType().isEjb() && getComponent().businessInterfaceHasAnnotation(Asynchronous.class) ) ||
      ( getComponent().getType() == JAVA_BEAN && getComponent().beanClassHasAnnotation(Asynchronous.class) );
   }

I didn't perform a test, but the documentation appears correct to me.

> Bean, not interface, should be annotated as asynchronous in Seam Reference Guide
> --------------------------------------------------------------------------------
>
>                 Key: JBSEAM-4047
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4047
>             Project: Seam
>          Issue Type: Task
>          Components: Documentation Issues
>    Affects Versions: 2.1.1.GA
>            Reporter: Brian Dill
>
> Documentation [1,2] shows the @Asynchronous annotation being used on methods in the interface, but it should be used on methods in the actual bean. This is related to support case Issue Tracker support case #272952.
> 1. http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.3.0.cp03_fp01/html-single/Seam_Reference_Guide/index.html#d0e14521
> 2. http://docs.jboss.com/seam/2.1.1.GA/reference/en-US/html/jms.html#d0e20869

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list