1 22 package org.jboss.test.bmp.interfaces; 23 24 import java.rmi.RemoteException ; 25 import java.util.Collection ; 26 27 import javax.ejb.CreateException ; 28 import javax.ejb.EJBHome ; 29 import javax.ejb.FinderException ; 30 31 public interface SimpleBMPHome extends EJBHome 32 { 33 public SimpleBMP create (int _id, String _name) 34 throws CreateException , RemoteException ; 35 36 public SimpleBMP createMETHOD (int _id, String _name) 37 throws CreateException , RemoteException ; 38 39 public SimpleBMP findByPrimaryKey (Integer _key) 40 throws FinderException , RemoteException ; 41 42 public Collection findAll () 43 throws FinderException , RemoteException ; 44 45 } 46 | Popular Tags |