org.jboss.ejb3.timerservice.spi
Interface TimerServiceFactory_2

All Superinterfaces:
TimerServiceFactory

public interface TimerServiceFactory_2
extends TimerServiceFactory


Method Summary
 void restoreTimerService(javax.ejb.TimerService timerService, java.lang.ClassLoader loader)
          Restores the timers held by the specified timer service.
 
Methods inherited from interface org.jboss.ejb3.timerservice.spi.TimerServiceFactory
createTimerService, restoreTimerService, suspendTimerService
 

Method Detail

restoreTimerService

void restoreTimerService(javax.ejb.TimerService timerService,
                         java.lang.ClassLoader loader)
Restores the timers held by the specified timer service. Once a TimerObjectInvoker is ready to receive callbacks, it should call this function.

Parameters:
timerService - the timerService that should restore its timers
loader - the ClassLoader to load the timers with
Throws:
java.lang.NullPointerException - if timerService is null