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.

Author:
Thomas.Diesler@jboss.org, Carlo de Wolf

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

Method Detail

getTimedObjectId

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

Returns:
the identifier

callTimeout

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

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


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.