1 package edu.rice.rubis.beans;2 3 import java.rmi.RemoteException ;4 import javax.ejb.CreateException ;5 import javax.ejb.FinderException ;6 import javax.ejb.RemoveException ;7 import javax.ejb.EJBLocalHome ;8 9 /** This is the Home interface of the IDManager Bean */10 11 public interface IDManagerLocalHome extends EJBLocalHome {12 13 /**14 * This method is used to create a new IDManager Bean.15 *16 * @return entity bean17 */18 public IDManagerLocal create() throws CreateException , RemoveException ;19 20 21 /**22 * This method is used to retrieve a IDManager Bean from its primary key,23 * that is to say its id (in that case 0).24 *25 * @param id IDManager id (primary key)26 *27 * @return the IDManager if found else null28 */29 public IDManagerLocal findByPrimaryKey(IDManagerPK id) throws FinderException ;30 31 }32