[
https://jira.jboss.org/jira/browse/JBSEAM-4047?page=com.atlassian.jira.pl...
]
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....
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