javax.ejb
Interface TimerService


public interface TimerService

Version:
$Rev: 467742 $ $Date: 2006-10-25 21:30:38 +0200 (Wed, 25 Oct 2006) $

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

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

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

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

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

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


Copyright © 2011. All Rights Reserved.