Package jakarta.ejb
Interface TimedObject
-
public interface TimedObjectTheTimedObjectinterface 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
TimedObjectinterface, theTimeoutannotation, if used, can only be applied to theejbTimeoutmethod.- Since:
- EJB 2.1
- See Also:
Timeout
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidejbTimeout(Timer timer)Invoked by the enterprise bean container upon timer expiration.
-
-
-
Method Detail
-
ejbTimeout
void ejbTimeout(Timer timer)
Invoked by the enterprise bean container upon timer expiration.- Parameters:
timer- timer whose expiration caused this notification.
-
-