javax.ejb

Interface Timer

public interface Timer

Method Summary

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

Method Details

cancel

public void cancel()
            throws EJBException,
                   IllegalStateException,
                   NoSuchObjectLocalException

getHandle

public TimerHandle getHandle()
            throws EJBException,
                   IllegalStateException,
                   NoSuchObjectLocalException

getInfo

public Serializable getInfo()
            throws EJBException,
                   IllegalStateException,
                   NoSuchObjectLocalException

getNextTimeout

public Date getNextTimeout()
            throws EJBException,
                   IllegalStateException,
                   NoSuchObjectLocalException

getTimeRemaining

public long getTimeRemaining()
            throws EJBException,
                   IllegalStateException,
                   NoSuchObjectLocalException