javax.ejb
Interface TimerService


public interface TimerService

Version:
$Rev: 46019 $ $Date: 2004-09-14 11:56:06 +0200 (Tue, 14 Sep 2004) $

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

Method Detail

createTimer

public Timer createTimer(java.util.Date initialExpiration,
                         long intervalDuration,
                         java.io.Serializable info)
                  throws java.lang.IllegalArgumentException,
                         java.lang.IllegalStateException,
                         EJBException
Throws:
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException

createTimer

public Timer createTimer(java.util.Date expiration,
                         java.io.Serializable info)
                  throws java.lang.IllegalArgumentException,
                         java.lang.IllegalStateException,
                         EJBException
Throws:
java.lang.IllegalArgumentException
java.lang.IllegalStateException
EJBException

createTimer

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

createTimer

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

getTimers

public java.util.Collection getTimers()
                               throws java.lang.IllegalStateException,
                                      EJBException
Throws:
java.lang.IllegalStateException
EJBException


Copyright © {inceptionYear}-2007 null. All Rights Reserved.