javax.ejb
Interface Timer


public interface Timer

Version:
$Rev: 467553 $ $Date: 2006-10-25 06:01:51 +0200 (Wed, 25 Oct 2006) $

Method Summary
 void cancel()
           
 TimerHandle getHandle()
           
 java.io.Serializable getInfo()
           
 java.util.Date getNextTimeout()
           
 long getTimeRemaining()
           
 

Method Detail

cancel

void cancel()
            throws EJBException,
                   java.lang.IllegalStateException,
                   NoSuchObjectLocalException
Throws:
EJBException
java.lang.IllegalStateException
NoSuchObjectLocalException

getTimeRemaining

long getTimeRemaining()
                      throws EJBException,
                             java.lang.IllegalStateException,
                             NoSuchObjectLocalException
Throws:
EJBException
java.lang.IllegalStateException
NoSuchObjectLocalException

getNextTimeout

java.util.Date getNextTimeout()
                              throws EJBException,
                                     java.lang.IllegalStateException,
                                     NoSuchObjectLocalException
Throws:
EJBException
java.lang.IllegalStateException
NoSuchObjectLocalException

getInfo

java.io.Serializable getInfo()
                             throws EJBException,
                                    java.lang.IllegalStateException,
                                    NoSuchObjectLocalException
Throws:
EJBException
java.lang.IllegalStateException
NoSuchObjectLocalException

getHandle

TimerHandle getHandle()
                      throws EJBException,
                             java.lang.IllegalStateException,
                             NoSuchObjectLocalException
Throws:
EJBException
java.lang.IllegalStateException
NoSuchObjectLocalException


Copyright © 2011. All Rights Reserved.