org.jboss.ejb3.timerservice.spi
Interface TimedObjectInvoker


public interface TimedObjectInvoker

An implementation can invoke the ejbTimeout method on a TimedObject. The TimedObjectInvoker has knowledge of the TimedObjectId, it knows which object to invoke.


Method Summary
 void callTimeout(javax.ejb.Timer timer)
          Invokes the ejbTimeout method on the TimedObject with the given id.
 java.lang.String getTimedObjectId()
          The globally unique identifier for this timed object invoker.
 

Method Detail

getTimedObjectId

java.lang.String getTimedObjectId()
The globally unique identifier for this timed object invoker.

Returns:
the identifier

callTimeout

void callTimeout(javax.ejb.Timer timer)
                 throws java.lang.Exception
Invokes the ejbTimeout method on the TimedObject with the given id.

Parameters:
timer - the Timer that is passed to ejbTimeout
Throws:
java.lang.Exception