1 23 24 package com.sun.ejb.containers; 25 26 import java.util.Set ; 27 28 import javax.ejb.EntityBean ; 29 import javax.ejb.EntityContext ; 30 import javax.ejb.FinderException ; 31 32 import java.util.logging.Logger ; 33 import java.util.logging.Level ; 34 35 import com.sun.logging.LogDomains; 36 37 40 public abstract class TimerMigrationBean implements EntityBean { 41 42 private static Logger logger = LogDomains.getLogger(LogDomains.EJB_LOGGER); 43 44 48 public abstract String getTimerId(); 50 public abstract void setTimerId(String timerId); 51 52 public abstract String getOwnerId(); 53 public abstract void setOwnerId(String ownerId); 54 55 59 public abstract Set ejbSelectAllTimersByOwner(String ownerId) 60 throws FinderException ; 61 62 63 65 public void setEntityContext(EntityContext context) {} 66 67 public void unsetEntityContext() {} 68 69 public void ejbRemove() {} 70 71 public void ejbLoad() {} 72 73 public void ejbStore() {} 74 75 public void ejbPassivate() {} 76 77 public void ejbActivate() {} 78 79 public Set ejbHomeSelectAllTimersOwnedBy(String ownerId) 80 throws FinderException { 81 return ejbSelectAllTimersByOwner(ownerId); 82 } 83 84 } 85 | Popular Tags |