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()
           
 Serializable getInfo()
           
 Date getNextTimeout()
           
 ScheduleExpression getSchedule()
           
 long getTimeRemaining()
           
 boolean isCalendarTimer()
           
 boolean isPersistent()
           
 

Method Detail

cancel

void cancel()
            throws EJBException,
                   IllegalStateException,
                   NoSuchObjectLocalException
Throws:
EJBException
IllegalStateException
NoSuchObjectLocalException

getTimeRemaining

long getTimeRemaining()
                      throws EJBException,
                             IllegalStateException,
                             NoSuchObjectLocalException,
                             NoMoreTimeoutsException
Throws:
EJBException
IllegalStateException
NoSuchObjectLocalException
NoMoreTimeoutsException

getNextTimeout

Date getNextTimeout()
                    throws EJBException,
                           IllegalStateException,
                           NoSuchObjectLocalException,
                           NoMoreTimeoutsException
Throws:
EJBException
IllegalStateException
NoSuchObjectLocalException
NoMoreTimeoutsException

getInfo

Serializable getInfo()
                     throws EJBException,
                            IllegalStateException,
                            NoSuchObjectLocalException
Throws:
EJBException
IllegalStateException
NoSuchObjectLocalException

getHandle

TimerHandle getHandle()
                      throws EJBException,
                             IllegalStateException,
                             NoSuchObjectLocalException
Throws:
EJBException
IllegalStateException
NoSuchObjectLocalException

getSchedule

ScheduleExpression getSchedule()
                               throws EJBException,
                                      IllegalStateException,
                                      NoSuchObjectLocalException
Throws:
EJBException
IllegalStateException
NoSuchObjectLocalException

isPersistent

boolean isPersistent()
                     throws EJBException,
                            IllegalStateException,
                            NoSuchObjectLocalException
Throws:
EJBException
IllegalStateException
NoSuchObjectLocalException

isCalendarTimer

boolean isCalendarTimer()
                        throws EJBException,
                               IllegalStateException,
                               NoSuchObjectLocalException
Throws:
EJBException
IllegalStateException
NoSuchObjectLocalException


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