javax.ejb
Interface Timer


public interface Timer

Version:
$Rev: 881904 $ $Date: 2009-11-18 14:58:29 -0500 (Wed, 18 Nov 2009) $

Method Summary
 void cancel()
           
 TimerHandle getHandle()
           
 java.io.Serializable getInfo()
           
 java.util.Date getNextTimeout()
           
 ScheduleExpression getSchedule()
           
 long getTimeRemaining()
           
 boolean isCalendarTimer()
           
 boolean isPersistent()
           
 

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,
                             NoMoreTimeoutsException
Throws:
EJBException
java.lang.IllegalStateException
NoSuchObjectLocalException
NoMoreTimeoutsException

getNextTimeout

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

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

getSchedule

ScheduleExpression getSchedule()
                               throws EJBException,
                                      java.lang.IllegalStateException,
                                      NoSuchObjectLocalException
Throws:
EJBException
java.lang.IllegalStateException
NoSuchObjectLocalException

isPersistent

boolean isPersistent()
                     throws EJBException,
                            java.lang.IllegalStateException,
                            NoSuchObjectLocalException
Throws:
EJBException
java.lang.IllegalStateException
NoSuchObjectLocalException

isCalendarTimer

boolean isCalendarTimer()
                        throws EJBException,
                               java.lang.IllegalStateException,
                               NoSuchObjectLocalException
Throws:
EJBException
java.lang.IllegalStateException
NoSuchObjectLocalException


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.