public interface TimedObject
TimedObject
interface contains a callback method
that is used to deliver timer expiration notifications. It can be
implemented by a stateless session bean class, a singleton session
bean class, a message-driven bean class, or an enterprise bean 2.x entity bean class.
If the bean implements the TimedObject
interface, the
Timeout
annotation, if used, can only be applied to
the ejbTimeout
method.
Timeout
Modifier and Type | Method and Description |
---|---|
void |
ejbTimeout(Timer timer)
Invoked by the enterprise bean container upon timer expiration.
|
void ejbTimeout(Timer timer)
timer
- timer whose expiration caused this notification.