javax.ejb
Interface TimerService


public interface TimerService

Version:
$Revision: 1.3 $ $Date: 2004/03/10 09:59:39 $

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

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

createTimer

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

createTimer

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

createTimer

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

getTimers

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


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.