You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2008/03/17 05:03:26 UTC
[jira] Updated: (OPENEJB-781) Validation: Timeout method syntax
[ https://issues.apache.org/jira/browse/OPENEJB-781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Blevins updated OPENEJB-781:
----------------------------------
Component/s: deployment
Description:
Methods annotated @Timeout in the enterprise bean class must return void and take a javax.ejb.Timer object as the only parameter. They may not throw application exceptions.
@Timeout
public void timeout(Timer timer) {
System.out.println("TimerBean: timeout occurred");
}
Affects Version/s: 3.0-beta-1
3.0-beta-2
Fix Version/s: 3.0
> Validation: Timeout method syntax
> ---------------------------------
>
> Key: OPENEJB-781
> URL: https://issues.apache.org/jira/browse/OPENEJB-781
> Project: OpenEJB
> Issue Type: Sub-task
> Components: deployment
> Affects Versions: 3.0-beta-1, 3.0-beta-2
> Reporter: David Blevins
> Fix For: 3.0
>
>
> Methods annotated @Timeout in the enterprise bean class must return void and take a javax.ejb.Timer object as the only parameter. They may not throw application exceptions.
> @Timeout
> public void timeout(Timer timer) {
> System.out.println("TimerBean: timeout occurred");
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.