KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > jtests > beans > relation > rcycle > PersonHomeLocal


1 // PersonHomeLocal.java
2

3 package org.objectweb.jonas.jtests.beans.relation.rcycle;
4
5 import java.rmi.RemoteException JavaDoc;
6 import java.util.Collection JavaDoc;
7
8 import javax.ejb.CreateException JavaDoc;
9 import javax.ejb.EJBLocalHome JavaDoc;
10 import javax.ejb.FinderException JavaDoc;
11
12
13 /**
14  * Local home interface for the bean Person
15  * @author Helene Joanin
16  */

17 public interface PersonHomeLocal extends EJBLocalHome JavaDoc {
18
19     PersonLocal create(Integer JavaDoc id, String JavaDoc name, int sex) throws CreateException JavaDoc;
20
21     PersonLocal findByPrimaryKey(java.lang.Integer JavaDoc id) throws FinderException JavaDoc;
22
23     Collection JavaDoc findAll() throws FinderException JavaDoc;
24     PersonLocal findSpouse3() throws FinderException JavaDoc;
25
26 }
27
Popular Tags