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

Tomasz Adamski (JIRA) issues at jboss.org
Tue Mar 25 10:25:13 EDT 2014


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

Tomasz Adamski edited comment on WFLY-850 at 3/25/14 10:24 AM:
---------------------------------------------------------------

Information about transaction timeout wasn't propagated to @Timeout methods. Public methods got this information accidentally as all public methods are part of no-interface bean view. Added fix and a test.
                
      was (Author: tomekadamski):
    Information about transaction timeout wasn't propagated to @Timeout methods. Added fix and a test.
                  
> @TransactionTimeout ignored if method ist not public
> ----------------------------------------------------
>
>                 Key: WFLY-850
>                 URL: https://issues.jboss.org/browse/WFLY-850
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB
>            Reporter: Frank Langelage
>            Assignee: Tomasz Adamski
>            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