| java.lang.Object org.apache.openejb.core.timer.NullEjbTimerServiceImpl
NullEjbTimerServiceImpl | public class NullEjbTimerServiceImpl implements EjbTimerService(Code) | | Idempotent EjbTimerServiceImplementation. Used if a Bean does not implement a timeout method.
This differs from OpenEJB 2.x behavior, which did not create a TimerService for a bean which did not have a timeout method.
There's nothing in the spec which says a timeout-less bean cannot call getTimerService. So, we now have NullEjbTimerServiceImpl, which does not do very much...
|
Method Summary | |
public Timer | createTimer(Object primaryKey, Date initialExpiration, long intervalDuration, Serializable info) | public Timer | createTimer(Object primaryKey, Date expiration, Serializable info) | public Timer | createTimer(Object primaryKey, long initialDuration, long intervalDuration, Serializable info) | public Timer | createTimer(Object primaryKey, long duration, Serializable info) | public Timer | getTimer(long id) | public Collection<Timer> | getTimers(Object primaryKey) | public void | start() | public void | stop() |
NullEjbTimerServiceImpl | public NullEjbTimerServiceImpl()(Code) | | |
createTimer | public Timer createTimer(Object primaryKey, long initialDuration, long intervalDuration, Serializable info)(Code) | | |
getTimer | public Timer getTimer(long id)(Code) | | |
|
|