Issue Details (XML | Word | Printable)

Key: EJB_SPEC-23
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: marina vatkina
Reporter: Carlo de Wolf
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ejb-spec

Definition of timeout callback method is not optional when using programmatically created timers

Created: 07/Sep/11 08:37 AM   Updated: 29/Oct/12 06:10 AM   Resolved: 14/Sep/11 11:51 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 3.2

Time Tracking:
Not Specified

Tags: clarification
Participants: Carlo de Wolf and marina vatkina


 Description  « Hide

EJB 3.2 draft 20110511

For programmatically created timers, the timeout callback method may be a method that is annotated
with the Timeout annotation or the bean may implement the javax.ejb.TimedObject interface.
The javax.ejb.TimedObject interface has a single method, the timer callback method
ejbTimeout.

Should become:

For programmatically created timers, the timeout callback method must either be a single method that
is annotated with the Timeout annotation or the bean must implement the javax.ejb.TimedObject interface.
The javax.ejb.TimedObject interface has a single method, the timer callback method
ejbTimeout.



marina vatkina added a comment - 14/Sep/11 11:51 PM

Fixed in the upcoming draft. See also EJB_SPEC-20 for a similar cleanup activity