KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > jtests > beans > ejbql > CruiseHomeRemote


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