javax.ejb
Interface TimedObject


public interface TimedObject

The 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 EJB 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.

Since:
EJB 2.1
See Also:
Timeout

Method Summary
 void ejbTimeout(Timer timer)
          Invoked by the EJB container upon timer expiration.
 

Method Detail

ejbTimeout

void ejbTimeout(Timer timer)
Invoked by the EJB container upon timer expiration.

Parameters:
timer - timer whose expiration caused this notification.


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41