org.openejb.timer
Class TimerServiceImpl
java.lang.Object
org.openejb.timer.TimerServiceImpl
- All Implemented Interfaces:
- javax.ejb.TimerService
- public class TimerServiceImpl
- extends Object
- implements javax.ejb.TimerService
- Version:
- $Revision: 1.2 $ $Date: 2004/07/20 23:40:03 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimerServiceImpl
public TimerServiceImpl(BasicTimerService timerService,
AbstractInstanceContext context)
createTimer
public javax.ejb.Timer createTimer(Date initialExpiration,
long intervalDuration,
Serializable info)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
- Specified by:
createTimer
in interface javax.ejb.TimerService
- Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException
createTimer
public javax.ejb.Timer createTimer(Date expiration,
Serializable info)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
- Specified by:
createTimer
in interface javax.ejb.TimerService
- Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException
createTimer
public javax.ejb.Timer createTimer(long initialDuration,
long intervalDuration,
Serializable info)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
- Specified by:
createTimer
in interface javax.ejb.TimerService
- Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException
createTimer
public javax.ejb.Timer createTimer(long duration,
Serializable info)
throws IllegalArgumentException,
IllegalStateException,
javax.ejb.EJBException
- Specified by:
createTimer
in interface javax.ejb.TimerService
- Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException
getTimers
public Collection getTimers()
throws IllegalStateException,
javax.ejb.EJBException
- Specified by:
getTimers
in interface javax.ejb.TimerService
- Throws:
IllegalStateException
javax.ejb.EJBException
Copyright © 1999-2005 OpenEJB. All Rights Reserved.