javax.ejb
Interface TimerService


public interface TimerService

Version:
$Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $

Method Summary
 Timer createTimer(Date initialExpiration, long intervalDuration, Serializable info)
           
 Timer createTimer(Date expiration, Serializable info)
           
 Timer createTimer(long initialDuration, long intervalDuration, Serializable info)
           
 Timer createTimer(long duration, Serializable info)
           
 Collection getTimers()
           
 

Method Detail

createTimer

Timer createTimer(Date initialExpiration,
                  long intervalDuration,
                  Serializable info)
                  throws IllegalArgumentException,
                         IllegalStateException,
                         EJBException
Throws:
IllegalArgumentException
IllegalStateException
EJBException

createTimer

Timer createTimer(Date expiration,
                  Serializable info)
                  throws IllegalArgumentException,
                         IllegalStateException,
                         EJBException
Throws:
IllegalArgumentException
IllegalStateException
EJBException

createTimer

Timer createTimer(long initialDuration,
                  long intervalDuration,
                  Serializable info)
                  throws IllegalArgumentException,
                         IllegalStateException,
                         EJBException
Throws:
IllegalArgumentException
IllegalStateException
EJBException

createTimer

Timer createTimer(long duration,
                  Serializable info)
                  throws IllegalArgumentException,
                         IllegalStateException,
                         EJBException
Throws:
IllegalArgumentException
IllegalStateException
EJBException

getTimers

Collection getTimers()
                     throws IllegalStateException,
                            EJBException
Throws:
IllegalStateException
EJBException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.