Issue Details (XML | Word | Printable)

Key: OPENEJB-781
Type: Sub-task Sub-task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: David Blevins
Reporter: David Blevins
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenEJB
OPENEJB-453

Validation: Timeout method syntax

Created: 17/Mar/08 04:02 AM   Updated: 17/Mar/08 05:40 AM
Return to search
Component/s: deployment
Affects Version/s: 3.0-beta-1, 3.0-beta-2
Fix Version/s: 3.0

Time Tracking:
Not Specified

Resolution Date: 17/Mar/08 05:40 AM


 Description  « Hide
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");
}



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
David Blevins made changes - 17/Mar/08 04:03 AM
Field Original Value New Value
Component/s deployment [ 12311364 ]
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 [ 12312075 ]
Affects Version/s 3.0-beta-2 [ 12312804 ]
Fix Version/s 3.0 [ 12312805 ]
David Blevins made changes - 17/Mar/08 04:36 AM
Assignee David Blevins [ dblevins ]
David Blevins made changes - 17/Mar/08 05:40 AM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]