1 package org.objectweb.jonas.jtests.beans.ejbql; 2 3 import java.rmi.RemoteException ; 4 import java.util.Collection ; 5 6 import javax.ejb.FinderException ; 7 8 public interface CruiseHomeRemote extends javax.ejb.EJBHome { 10 11 public CruiseRemote create(String name, Integer ship) 12 throws javax.ejb.CreateException , RemoteException ; 13 14 public CruiseRemote findByPrimaryKey(Object primaryKey) 15 throws javax.ejb.FinderException , RemoteException ; 16 17 public Collection findAllCruises() 18 throws FinderException , RemoteException ; 19 20 public CruiseRemote findByName(String name) 21 throws FinderException , RemoteException ; 22 23 } 24 | Popular Tags |