javax.ejb
Interface Timer


public interface Timer

Version:
$Revision: 1.3 $ $Date: 2004/03/10 09:59:39 $

Method Summary
 void cancel()
           
 TimerHandle getHandle()
           
 Serializable getInfo()
           
 Date getNextTimeout()
           
 long getTimeRemaining()
           
 

Method Detail

cancel

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

getTimeRemaining

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

getNextTimeout

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

getInfo

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

getHandle

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


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.