1 25 26 package javax.ejb; 27 28 import java.io.Serializable ; 29 import java.util.Date ; 30 31 37 public interface Timer { 38 39 49 void cancel() throws IllegalStateException , NoSuchObjectLocalException , EJBException ; 50 51 63 long getTimeRemaining() throws IllegalStateException , NoSuchObjectLocalException , EJBException ; 64 65 77 Date getNextTimeout() throws IllegalStateException , NoSuchObjectLocalException , EJBException ; 78 79 90 Serializable getInfo() throws IllegalStateException , NoSuchObjectLocalException , EJBException ; 91 92 103 TimerHandle getHandle() throws IllegalStateException , NoSuchObjectLocalException , EJBException ; 104 105 } 106 | Popular Tags |