01: package org.objectweb.jonas.jtests.beans.ejbql;
02:
03: import java.rmi.RemoteException;
04: import java.util.Collection;
05:
06: import javax.ejb.FinderException;
07:
08: // Cruise EJB's remote home interface
09: 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() throws FinderException,
18: RemoteException;
19:
20: public CruiseRemote findByName(String name) throws FinderException,
21: RemoteException;
22:
23: }
|