You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Ivan (JIRA)" <ji...@apache.org> on 2011/04/13 07:59:05 UTC

[jira] [Commented] (OPENEJB-1521) Openejb assume there's only 1 @Timeout annotated method within EJB inheritance hierarchy.

    [ https://issues.apache.org/jira/browse/OPENEJB-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019217#comment-13019217 ] 

Ivan commented on OPENEJB-1521:
-------------------------------

Commit the changes to trunk at revision: 1091658. We might also need to update our validation codes, 
a. Validate if method configuration conflicts between the annotation/TimedObject and deployment desciptor
b. Validate if multiple methods with Timeout annotation exists on the same class
I will leave this JIRA open.

> Openejb assume there's only 1 @Timeout annotated method within EJB inheritance hierarchy. 
> ------------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1521
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1521
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: ejb31
>    Affects Versions: (trunk/openejb3)
>            Reporter: Shawn Jiang
>         Attachments: 0001-OPENEJB-1521-Openejb-assume-there-s-only-1-Timeout-a.patch
>
>
> Currently,  the code in openejb assume there's only 1 @Timeout annotated method within a EJB.   Actually,  when there's multiple @timeout in the class inheritance hierarchy.
> The finder would return a method list the size of which is >1.     
> we should sort the methods and then use @Timeout method in the child class where @Timeout is defined. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira