[jboss-jira] [JBoss JIRA] Resolved: (EJBTHREE-2018) Timeout method can have zero parameters
Carlo de Wolf (JIRA)
jira-events at lists.jboss.org
Thu Feb 25 12:53:11 EST 2010
[ https://jira.jboss.org/jira/browse/EJBTHREE-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlo de Wolf resolved EJBTHREE-2018.
-------------------------------------
Resolution: Done
> Timeout method can have zero parameters
> ---------------------------------------
>
> Key: EJBTHREE-2018
> URL: https://jira.jboss.org/jira/browse/EJBTHREE-2018
> Project: EJB 3.0
> Issue Type: Feature Request
> Components: timeout
> Reporter: Carlo de Wolf
> Assignee: Carlo de Wolf
> Fix For: as-int 1.1.23, EJB3_1 1.0.5, EJB 3.1
>
>
> EJB 3.1 FR 18.2.5.3:
> A timeout callback method must have one of the two signatures below, where <METHOD> designates the method name[101].
> void <METHOD>()
> void <METHOD>(Timer timer)[102]
> [101] If the bean implements the TimedObject interface, the Timeout annotation may optionally be applied to the ejbTimeout method.
> [102] An earlier version of the specification required that timeout callbacks accept the Timer parameter but did not require that this parameter be listed when declared via .xml. To preserve backward compatibility, a <timeout-method> that does not include a <method-param> element for the javax.ejb.Timer parameter may be used to match either a timeout method signtaure with or without a Timer parameter. If a timer methods are overloaded, a <timeout-method> with an empty <method-params> element may be used to explicitly refer to a the no-arg timout method.
--
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 jboss-jira
mailing list