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 06:41:25 UTC

[jira] Closed: (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 closed OPENEJB-781.
---------------------------------

    Resolution: Fixed

$ svn ci container
Sending        container/openejb-core/src/main/java/org/apache/openejb/config/AnnotationDeployer.java
Sending        container/openejb-core/src/main/java/org/apache/openejb/config/rules/CheckCallbacks.java
Sending        container/openejb-core/src/main/java/org/apache/openejb/config/rules/CheckClasses.java
Sending        container/openejb-core/src/main/resources/org/apache/openejb/config/rules/Messages.properties
Sending        container/openejb-core/src/test/java/org/apache/openejb/config/InheritenceTest.java
Sending        container/openejb-core/src/test/java/org/apache/openejb/core/stateless/StatelessInterceptorTest.java
Sending        container/openejb-jee/src/main/java/org/apache/openejb/jee/ContainerTransaction.java
Sending        container/openejb-jee/src/main/java/org/apache/openejb/jee/Method.java
Sending        container/openejb-jee/src/main/java/org/apache/openejb/jee/MethodTransaction.java
Transmitting file data .........
Committed revision 637726.



> 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
>            Assignee: 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.