public interface TimerHandle extends Serializable
Since timers are local objects, a timer handle must not be passed through a bean's remote business interface, remote interface or web service interface.
Timer getTimer() throws IllegalStateException, NoSuchObjectLocalException, EJBException
IllegalStateException- If this method is invoked while the instance is in a state that does not allow access to this method.
NoSuchObjectLocalException- If invoked on a handle whose associated timer has expired or has been cancelled.
EJBException- If this method could not complete due to a system-level failure.
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.