1 23 24 package com.sun.ejb.containers; 25 26 import java.io.Serializable ; 27 import java.util.Date ; 28 29 import javax.ejb.EJBLocalObject ; 30 31 36 public interface TimerLocal extends EJBLocalObject { 37 38 41 42 45 Date getCreationTime(); 46 47 50 Date getInitialExpiration(); 51 52 53 57 long getIntervalDuration(); 58 59 62 long getContainerId(); 63 64 67 String getOwnerId(); 68 69 73 Serializable getInfo(); 74 75 78 Object getTimedObjectPrimaryKey(); 79 80 83 84 88 Date getLastExpiration(); 89 90 94 void setLastExpiration(Date lastExpiration); 95 96 99 void setOwnerId(String ownerId); 100 101 104 105 108 boolean repeats(); 109 110 113 boolean isActive(); 114 115 118 boolean isCancelled(); 119 120 123 void cancel() throws Exception ; 124 125 } 126 | Popular Tags |