[jboss-jira] [JBoss JIRA] (WFLY-850) @TransactionTimeout ignored if method ist not public

David Lloyd (JIRA) jira-events at lists.jboss.org
Fri Sep 20 17:58:03 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806222#comment-12806222 ] 

David Lloyd commented on WFLY-850:
----------------------------------

This behavior was most likely introduced here: https://github.com/jbossas/jboss-as/compare/3eb2183...8a8866e / https://github.com/wildfly/wildfly/pull/45 in response to AS7-899 but instead of simply selecting the most specific matching method, it just grabs whatever public method it can find, thus protected/etc. get left out.
                
> @TransactionTimeout ignored if method ist not public
> ----------------------------------------------------
>
>                 Key: WFLY-850
>                 URL: https://issues.jboss.org/browse/WFLY-850
>             Project: WildFly
>          Issue Type: Bug
>          Components: EJB
>            Reporter: Frank Langelage
>            Assignee: jaikiran pai
>            Priority: Minor
>
> The annotation @TransactionTimeout is not honored, when the method has other than public access.
> @Timeout methods invoked by the container are allowed to have "public, private, protected, or package level access".
> So the annotation should work also if method is not public.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list